microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Microsoft.Skype.Bots.Media does not run on .NET 9 or 10

Open
#868 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

I know it doesn't claim to on nuget.org, but .NET 9 was released 19 months ago and .NET 10 seven months ago. It would be great to be able to upgrade.

The first concrete problem is this documented breaking change in ASP.NET Core: Middleware types with multiple constructors. We see the resulting error in our logs:

Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Media platform failed to initialize ---> System.InvalidOperationException: Multiple constructors accepting all given argument types have been found in type 'Microsoft.AspNetCore.HttpsPolicy.HstsMiddleware'. There should only be one applicable constructor.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the ASP.NET Core breaking-change documentation linked in the issue and the logged HstsMiddleware constructor error. Trace how Microsoft.Skype.Bots.Media initializes its media platform under .NET 9 and .NET 10, then verify that the package runs successfully on both target versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.