Skip to main content

.NET 10 Migration

Version 1.0.0 moved the whole solution to net10.0. This page lists what changes for developers and operators. It does not replace Microsoft's platform release notes.

Who is affected#

AreaImpact
Backend and librariesevery *.csproj targets net10.0; older SDKs cannot build
TestsTests targets net10.0
Blazorclients/blazor-admin and clients/blazor-admin-server target net10.0
Toolingglobal.json pins the SDK
NuGetcentral package management through Directory.Packages.props
JS clientsNode.js LTS; the framework upgrade is independent

Downstream forks that referenced net7.0 / net8.0 / net9.0 must retarget.

SDK#

  • Install .NET SDK 10.x on every machine and CI agent.
  • global.json pins 10.0.201 with rollForward: latestFeature.
  • Hosting (IIS, Kestrel, containers) must run a .NET 10 runtime.

Target framework#

<TargetFramework>net10.0</TargetFramework>

Consumers of these projects as libraries may need to align to net10.0 or a compatible TFM.

Central package management#

  • Directory.Packages.props defines one version per package.
  • PackageReference entries in *.csproj carry no Version for centrally managed packages.
  • Add or bump versions in Directory.Packages.props only.
  • NuGet.config defines the feeds; corporate environments must mirror or allow-list them.

Aligned packages include Microsoft.AspNetCore.Authentication.JwtBearer 10.x, Microsoft.EntityFrameworkCore.* 10.x and Microsoft.AspNetCore.Components.WebAssembly* 10.x.

WebAPI and hosting#

  • launchSettings.json profiles (Dev_Development, Dev_Staging, Dev_Production) bind HTTP 5100 and HTTPS 5101.
  • WebAPI/Dockerfile targets the .NET 10 images; rebuild images after upgrading.
  • Revalidate environment-specific configuration (connection strings, secrets) on the new runtime.

Clients#

ClientNotes
Vue / Angular / ReactNode.js LTS and npm install per app
Blazor WASM + Server.NET 10 SDK; Radzen and WASM packages come from Directory.Packages.props

Default API base stays https://localhost:5101/api/v1.

CI#

Workflows under .github/workflows/ must use the .NET 10 setup action or container. Pipelines still pinned to 8.x or 9.x fail to build.

Checklist#

  • Install .NET SDK 10.x; dotnet --version reports 10.x
  • dotnet restore at the repository root
  • dotnet build the full solution
  • dotnet test the Tests project
  • Run WebAPI and smoke-test Swagger and auth
  • Build and run each client under clients/
  • Update Dockerfiles and deployment images
  • Update CI matrices to SDK 10.x

Rollback#

Keep a branch or tag from before the migration. Downgrading means reverting that merge; mixing net10.0 projects with older package locks is not supported.

The full document lives in the main repository at docs/BREAKING-CHANGES-NET10.md (Turkish: docs/BREAKING-CHANGES-NET10.tr.md).