Skip to content

chore(dotnet): upgrade remaining .NET samples to net11 - #9365

Merged
Vincent Biret (baywet) merged 8 commits into
mainfrom
upgrade/dotnet-net11
Nov 11, 2026
Merged

Vincent Biret (baywet) merged 8 commits into
mainfrom
upgrade/dotnet-net11

Conversation

@baywet

@baywet Vincent Biret (baywet) commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Upgrades the remaining .NET samples from net10.0 to net11.0 (follow-up to #9364).

Changes

  • Target net11.0: msgraph-mail/dotnet, petstore/dotnet, get-started/azure-auth/dotnet, get-started/dotnet-dependency-injection, get-started/quickstart/dotnet (src + test).
  • CI: get-started-dotnet.yml installs .NET 11.x (all three jobs).
  • Dependencies:
    • Azure.Identity 1.18.0 → 1.21.0 (azure-auth)
    • Microsoft.AspNetCore.OpenApi 10.0.15 → 11.0.0 (dependency injection)
    • Microsoft.NET.Test.Sdk 18.11.1 → 18.12.0 (quickstart tests)

Dependabot PRs merged into this branch

Validation

  • All projects build with 0 warnings; quickstart tests pass (3/3).
  • Swashbuckle 11.0.0 / xunit.v3 4.0.3 weren't yet available on the internal feed locally, so those were validated locally with 10.3.1 / 4.0.2; CI validates the final versions.
  • No remaining outdated packages for these projects.

dependabot Bot and others added 8 commits September 23, 2026 16:14
---
updated-dependencies:
- dependency-name: NSubstitute
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
  dependency-version: 11.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
…net-dependency-injection/Swashbuckle.AspNetCore-11.0.0' into upgrade/dotnet-net11
…ckstart/dotnet/test/NSubstitute-6.2.0' into upgrade/dotnet-net11

# Conflicts:
#	get-started/quickstart/dotnet/test/KiotaPostsTests.csproj
- target net11.0 for msgraph-mail, petstore and get-started projects
- install .NET 11 in the get-started .NET workflow
- bump Azure.Identity, Microsoft.AspNetCore.OpenApi and Microsoft.NET.Test.Sdk

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
…e OpenAPI

Remove the Swagger UI dependency and rely on Microsoft.AspNetCore.OpenApi;
launch the OpenAPI description instead of the Swagger UI.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
…actory

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
…SwaggerUI package

Serve Swagger UI from Swashbuckle.AspNetCore.SwaggerUI on top of the native
OpenAPI document, without pulling in SwaggerGen.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 26ff6e74-45c7-4932-bfa8-11c1c74d16e1
@baywet
Vincent Biret (baywet) marked this pull request as ready for review November 11, 2026 20:11
@baywet
Vincent Biret (baywet) requested a review from a team as a code owner November 11, 2026 20:11
@baywet
Vincent Biret (baywet) merged commit bebe9a1 into main Nov 11, 2026
39 checks passed
@baywet
Vincent Biret (baywet) deleted the upgrade/dotnet-net11 branch November 11, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant