Skip to content
Happy Programming Guide
Start learning
C#

.NET 9 vs .NET 10: Should You Upgrade?

.NET 9 was a short-term release and its support has ended; .NET 10 is long-term. What changed, what the support windows mean, and a checklist for moving.

Computer keyboard

.NET 9 and .NET 10 sit a year apart and on opposite sides of Microsoft’s release rhythm: 9 was a standard-term release, supported for eighteen months and now past the end of that window, while 10 is a long-term release supported until November 2028. For anything you maintain, the upgrade is not a question of whether but when, and for most projects the answer is soon. Here is what you gain, what to check, and how to do it.

The cadence#

A new .NET ships every November. Even-numbered releases are LTS, supported for three years; odd-numbered releases are STS, supported for eighteen months. .NET 8 (LTS, November 2023) is supported until November 2026. .NET 9 (STS, November 2024) reached end of support in May 2026. .NET 10 (LTS, November 2025) runs until November 2028. .NET 11, due November 2026, will be STS again.

Version Type Released Support ends
.NET 8 LTS Nov 2023 Nov 2026
.NET 9 STS Nov 2024 May 2026
.NET 10 LTS Nov 2025 Nov 2028
.NET 11 STS Nov 2026 May 2028

End of support means no more security patches. A service on .NET 9 today is running an unpatched runtime, which is the strongest reason to move regardless of features.

What you gain#

C# 14. Extension members, the field keyword, null-conditional assignment, implicit span conversions, nameof on unbound generics, and file-based apps you can run with dotnet run app.cs. The language changes alone justify the move for teams writing much new code.

Runtime and JIT. Each release improves code generation, and 10 continues it: better loop optimisation, more inlining, struct handling, and improvements to garbage collection. Most applications get measurably faster by recompiling, with no code changes.

Libraries. Additions across the base class library, System.Text.Json, cryptography (including post-quantum algorithms), and networking.

ASP.NET Core. Passkey support in Identity, improved validation for minimal APIs, Blazor improvements including WebAssembly preloading, better OpenAPI generation, and diagnostics.

Entity Framework Core 10. LINQ translation improvements, complex types and better JSON column support.

Tooling. Visual Studio 2026 and the current C# Dev Kit target 10 by default. .NET Aspire continues to mature for local orchestration of multi-service applications.

Breaking changes#

Few, and documented per area. The ones most likely to touch a typical project:

  • Analyser warnings promoted to errors, particularly around nullability and obsolete APIs.
  • ASP.NET Core defaults that tightened: some middleware ordering, some serialiser behaviour.
  • Package versions: a handful of Microsoft packages dropped support for older targets in the same release.
  • Behaviour changes in System.Text.Json for edge cases.

Read the breaking-changes list for the areas you use rather than the whole document. A project with tests finds the rest.

The upgrade#

XML
<TargetFramework>net10.0</TargetFramework>
Terminal
dotnet --list-sdks                      # confirm the 10 SDK is installed
dotnet outdated                         # or: check each package's latest
dotnet restore
dotnet build --warnaserror              # optional, but surfaces promoted warnings early
dotnet test
  1. Install the .NET 10 SDK. Pin it in global.json if the repository uses one.
  2. Change every project’s target framework. Multi-target libraries can add net10.0 alongside.
  3. Update Microsoft packages to their 10.x versions: ASP.NET Core, EF Core, extensions. Third-party packages to their latest.
  4. Build, fix warnings, run tests.
  5. Update the Dockerfile base images to the 10.0 tags, and CI’s SDK version.
  6. Deploy to staging and watch for the behaviour changes the tests did not cover.

If you are on .NET 8#

You have until November 2026, so there is no emergency, and the same checklist applies. Skip 9 entirely; there is no reason to pass through a release that is already unsupported. Moving 8 to 10 is a routine upgrade for most projects.

Should you wait for .NET 11?#

No. 11 is short-term; adopting it means another upgrade within eighteen months. Use 10 for anything you maintain, and consider 11 only for experiments or for a feature you specifically need.

Questions people ask#

Is .NET 10 stable?

Yes. It shipped in November 2025 and has been through several patch releases. LTS releases are the ones intended for production.

Can .NET 9 and 10 be installed side by side?

Yes. SDKs and runtimes coexist, and each project picks its target. Remove old SDKs when nothing needs them.

Does upgrading require C# 14?

No. The language version follows the target framework by default but can be pinned. Nothing forces you to use new syntax.

What about .NET Framework 4.8?

A different product line, still supported with Windows but not developed further. Moving from Framework to .NET 10 is a migration rather than an upgrade, and a larger project.

Where to go next#

What's new in C# 14 and .NET 10Read next

Keep reading

C#

C# and ASP.NET Core

Building web applications and APIs with ASP.NET Core: minimal APIs, controllers, dependency injection, middleware, validation and configuration.

5 min read

C#

C# Security

The security work that matters in .NET applications: SQL injection, XSS, secrets, authentication, deserialization, randomness and dependency scanning.

5 min read

C#

C# Collections

List, Dictionary, HashSet, Queue and the read-only interfaces — which to choose, how they perform, and the mistakes that cause exceptions.

5 min read

Keep going — pick your next guide

The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.

Ask a question or share what worked

Your email address will not be published. Required fields are marked *