What shipped on 10 November 2026
.NET 11 reached general availability on 10 November 2026 as runtime 11.0.0 with SDK 11.0.100, and C# 15 became the default language version for projects that target net11.0. On the same day .NET 8 and .NET 9 reached end of support with their final patches, 8.0.34 and 9.0.23. Any service still on those versions now runs on a runtime that will not receive another security fix, which makes this release more pressing than an odd-numbered release usually is.
This article covers what changes for a working developer rather than reproducing the release notes: the support decision, the runtime and JIT, the C# 15 features that change how you model data, the library additions worth adopting, ASP.NET Core 11, EF Core 11, the SDK, the breaking changes most likely to bite and an upgrade sequence. Every sample was built and run with SDK 11.0.100 against net11.0 with nullable reference types enabled, and the comments show the output we observed.
References: .NET support policy · Microsoft Learn: What's new in C# 15
Support dates: .NET 10 LTS or .NET 11 STS
The support policy gives long-term support releases three years of free patches and standard-term support releases two years, with a new major version every November; even-numbered versions are LTS and odd-numbered ones STS. The result for this cycle is unusual: .NET 10, the LTS release from November 2025, and .NET 11 both reach end of support on 14 November 2028. The support window is no reason to prefer either.
The real differences are maturity and change volume. .NET 10 has a year of servicing behind it, and EF Core 10, ASP.NET Core 10 and most third-party packages have had a year of production use on it. .NET 11 brings the new language features, runtime-native async and EF Core 11, but also a higher hardware baseline and a longer list of behavioral changes. Teams leaving .NET 8 under time pressure will usually find .NET 10 the calmer target: a smaller step with the same end date.
Choose .NET 11 when you want unions, closed hierarchies, EF Core 11 or the new library APIs now and can absorb the extra changes described below. Either way, the next hop has to happen during 2028. A library that targets net10.0 runs on .NET 11, so library authors can keep net10.0 as their floor and add net11.0 only where they need new APIs. EF Core 11 is the exception in the other direction: it requires the .NET 11 runtime.

References: .NET support policy · Microsoft Learn: What's new in EF Core 11
A higher hardware floor for the runtime
The least glamorous runtime change is the one most likely to stop an application from starting. .NET 11 raises the minimum x86 and x64 instruction set from x86-64-v1 to x86-64-v2 on Windows, Linux and macOS, adding guarantees for CX16, POPCNT, SSE3, SSSE3, SSE4.1 and SSE4.2. Microsoft notes that Windows 11 already requires this level and that the last processors without it left vendor support around 2013. On Arm64, Windows now requires the LSE atomics, while Linux and Apple keep their previous minimums.
Below the baseline, the process fails at startup with a message that the CPU is missing baseline instruction sets. The realistic risk is old build agents, virtual machines configured with a conservative CPU model and some emulators, so check the CPU model your hypervisor exposes before the first deployment. ReadyToRun code now targets x86-64-v3 on Windows and Linux; supported machines below that level still run, but jit more code at startup.
Two smaller items matter in production. The runtime now starts on machines with more than 1024 logical processors, though the garbage collector keeps its 1024-heap limit. And on Linux and macOS, DOTNET_EnableCrashReport=1 selects a new in-process crash reporter that records the managed stack trace and runtime state before the process exits.

References: Microsoft Learn: What's new in the .NET 11 runtime · Microsoft Learn: Breaking changes in .NET 11
Runtime async moves await into the runtime
Runtime async replaces the state machine that the C# compiler generates for each async method with suspension and resumption implemented by the runtime. In .NET 11 it no longer requires EnablePreviewFeatures, and the runtime libraries are compiled with it, so every application already exercises it inside framework code. Your own assemblies opt in with runtime-async=on in the Features project property; the sample confirms that a plain net11.0 project still produces classic state machines.
The visible gain is in live stack traces. Compiler-generated state machines add builder frames for every async method, so the three-level chain in the sample showed 13 frames; with the flag set it showed 5, the real call chain, matching Microsoft's documentation. Exception stack traces already looked clean, so the difference appears in profilers, debuggers and diagnostic logging. Separately, Task and ValueTask continuations now skip ExecutionContext capture and restore when there is no ambient state, which helps all async code.
Treat opting in as a change that needs measurement. The ASP.NET Core notes single out exception stacks and the flow of ExecutionContext and AsyncLocal values as areas to watch, and the DOTNET_RuntimeAsync environment variables from earlier previews have been removed, so CI scripts that set them now do nothing. Enable the flag in one service, run its load tests and compare allocations and tail latency before going further.
C# 15 · .NET 11 SDK
using System;
using System.Diagnostics;
using System.Threading.Tasks;
// Build once as is, then again with <Features>runtime-async=on</Features>
// in the project file, and compare the live stack.
await OuterAsync();
static async Task OuterAsync()
{
await Task.CompletedTask;
await MiddleAsync();
}
static async Task MiddleAsync()
{
await Task.CompletedTask;
await InnerAsync();
}
static async Task InnerAsync()
{
await Task.CompletedTask;
var trace = new StackTrace();
// Compiler-generated state machines put AsyncMethodBuilderCore.Start
// frames between the methods; with runtime-async they disappear.
bool hasBuilderFrames = trace.ToString().Contains("AsyncMethodBuilderCore");
Console.WriteLine($"{trace.FrameCount} frames, builder frames: {hasBuilderFrames}");
}References: Microsoft Learn: What's new in the .NET 11 runtime · Microsoft Learn: What's new in ASP.NET Core for .NET 11
JIT and code generation: fewer checks, more devirtualization
The JIT work is incremental but broad. Bounds checks disappear for loops that compare an index plus a constant against a length, for more index-from-end accesses such as values[^1], and for span[0] after an IsEmpty guard. Redundant checked arithmetic is removed when a value is provably in range, patterns such as x is 0 or 1 or 2 become branchless, and string.Equals or SequenceEqual on two constants folds away after inlining.
Devirtualization now covers generic virtual methods and default interface methods on generic interfaces, and the result of Activator.CreateInstance<T>() is treated as an exact type. ReadyToRun images specialize Comparer<T>.Default and EqualityComparer<T>.Default instead of falling back to the JIT, which Microsoft measured at up to a twentyfold improvement for affected collection operations. Native AOT routes interface calls through a shared, patchable dispatch helper, and Half arithmetic uses hardware FP16 instructions where available.
Some numeric changes alter results rather than speed. Unchecked conversions from float and double to small integer types now saturate instead of wrapping; in our run unchecked((byte)300.7) returned 255. Math.Round and MathF.Round with a digits argument now round the exact binary value, so Math.Round(655.925, 2, MidpointRounding.AwayFromZero) returns 655.92 rather than 655.93. Expect snapshot tests of numeric output to change, and use decimal for base-10 quantities such as money.
References: Microsoft Learn: What's new in the .NET 11 runtime · Microsoft Learn: Breaking changes in .NET 11
Union types: one value, a fixed set of cases
Union types are the headline of C# 15. A declaration such as public union PaymentDecision(Approved, Rejected, TimeSpan) says that a value is exactly one of the listed case types, which need not share a base type. Each case type converts implicitly to the union, and a switch expression that handles every case is exhaustive without a discard arm. Remove an arm, or add a case to the declaration, and the switch produces warning CS8509, which is the main reason to prefer a union over a marker interface or an object parameter.
Know what the compiler generates. A union declaration becomes a struct marked with UnionAttribute that implements IUnion, with one public constructor per case type and a Value property of type object?, so value-type cases such as TimeSpan are boxed. Type patterns test the contents, so decision is Approved asks what Value holds, while an untyped property pattern such as { } looks at the union itself. A union body can add methods and computed properties but not instance fields or auto-properties.
The default value is the trap. A default PaymentDecision, such as an uninitialized field or array element, has a null Value. When every case type is non-nullable the compiler does not ask for a null arm, yet the switch throws SwitchExpressionException when it receives a default union; we confirmed this by removing the null arm from the sample. Keep an explicit null arm wherever a default can reach a switch, and prefer it to a discard, which would also swallow cases added later. System.Text.Json serializes a union as its current case, and ASP.NET Core accepts unions in JSON request bodies.

C# 15 · .NET 11 SDK
using System;
Console.WriteLine(Describe(new Approved("A-1042"))); // approved as A-1042
Console.WriteLine(Describe(new Rejected("credit limit"))); // rejected: credit limit
Console.WriteLine(Describe(TimeSpan.FromMinutes(5))); // retry in 300 s
Console.WriteLine(Describe(default)); // no decision yet
PaymentDecision decision = new Approved("A-7");
Console.WriteLine(decision.Value is Approved); // True
Console.WriteLine(decision is Approved { Reference: "A-7" }); // True
// Every case type is handled, so no discard arm is needed. The null arm
// covers a default union, whose Value is null.
static string Describe(PaymentDecision decision) => decision switch
{
Approved a => $"approved as {a.Reference}",
Rejected r => $"rejected: {r.Reason}",
TimeSpan delay => $"retry in {delay.TotalSeconds:0} s",
null => "no decision yet",
};
public sealed record Approved(string Reference);
public sealed record Rejected(string Reason);
// The case types share no base type; TimeSpan is a value type and is boxed.
public union PaymentDecision(Approved, Rejected, TimeSpan);References: Microsoft Learn: What's new in C# 15 · Microsoft Learn: Union types (C# reference) · Microsoft Learn: What's new in the .NET 11 libraries · Microsoft Learn: What's new in ASP.NET Core for .NET 11
Closed hierarchies for exhaustive class trees
Closed hierarchies solve the same problem from the inheritance side. A class or record marked closed can only be derived from inside its declaring assembly, so the compiler knows every direct descendant and a switch that handles all of them needs no default arm. A closed class is implicitly abstract and cannot also be sealed, static or explicitly abstract. Adding a fourth descendant to the sample produced CS8509 at the switch, naming the missing type.
Closedness is not transitive: a descendant that is not itself closed can still be derived from in other assemblies, so mark intermediate levels closed and seal leaf types. Use a closed hierarchy when the cases share members through a base type, and a union when they are unrelated types, including types you do not own. System.Text.Json can infer polymorphism for closed hierarchies through JsonPolymorphic with InferClosedTypePolymorphism set to true.
C# 15 · .NET 11 SDK
using System;
Shipment[] shipments =
[
new Pending(),
new InTransit("DHL", 2),
new Delivered(new DateOnly(2026, 11, 16)),
];
foreach (var shipment in shipments)
Console.WriteLine(Status(shipment));
// pending
// with DHL, 2 day(s) left
// delivered on 2026-11-16
// Exhaustive without a discard arm: Shipment is closed, so the compiler
// knows every direct descendant. Adding a fourth descendant turns this
// switch into warning CS8509 instead of a runtime surprise.
static string Status(Shipment shipment) => shipment switch
{
Pending => "pending",
InTransit(var carrier, var days) => $"with {carrier}, {days} day(s) left",
Delivered(var on) => $"delivered on {on:yyyy-MM-dd}",
};
// closed: derivable only inside this assembly, implicitly abstract.
public closed record Shipment;
public sealed record Pending : Shipment;
public sealed record InTransit(string Carrier, int DaysLeft) : Shipment;
public sealed record Delivered(DateOnly On) : Shipment;References: Microsoft Learn: What's new in C# 15 · Microsoft Learn: What's new in the .NET 11 libraries
Collection arguments, extension indexers and labeled jumps
Collection expressions gain a with(...) element, which must come first and passes arguments to the collection's constructor or factory method, so comparers and capacities no longer force a fallback to new HashSet<string>(...). The compiler documents one source break: with C# 15, with(x, y) inside a collection expression means construction arguments, so a call to a method named with must be written @with.
Extension blocks, introduced in C# 14, can now declare indexers, which always need a named receiver. Indexer syntax promises a cheap lookup, so think twice before attaching one to IEnumerable<T>: the sample's indexer enumerates the sequence on every access. break and continue can now name a label on an enclosing loop or switch, replacing Boolean flags and goto in nested loops, and the IDE0410 style rule finds code that could use them.
Non-virtual static interface members can now be declared and called even on runtimes without default interface implementation support. The memory safety work, which ties the unsafe context to operations that dereference memory rather than to pointer types, ships only as a preview behind LangVersion preview and a separate updated-memory-safety-rules feature flag. Keep it out of production code for now.
C# 15 · .NET 11 SDK
using System;
using System.Collections.Generic;
using System.Linq;
using Shop.Extensions;
string[] incoming = ["Kyiv", "KYIV", "Lviv", "Odesa"];
// with(...) must be the first element; it supplies constructor arguments.
HashSet<string> cities = [with(StringComparer.OrdinalIgnoreCase), .. incoming];
List<string> buffer = [with(capacity: 64)];
Console.WriteLine($"{cities.Count} cities, capacity {buffer.Capacity}"); // 3 cities, capacity 64
// Extension indexer: reads like a member of IEnumerable<string>.
IEnumerable<string> lazy = incoming.Where(c => c.Length == 4);
Console.WriteLine(lazy[1]); // KYIV
// Labeled continue and break target the named loop.
int[][] grid = [[1, 2, 3], [4, -1, 6], [7, 8, 0]];
var visited = new List<int>();
rows: for (int r = 0; r < grid.Length; r++)
{
foreach (int cell in grid[r])
{
if (cell < 0) continue rows; // skip the rest of this row
if (cell == 0) break rows; // stop scanning entirely
visited.Add(cell);
}
}
Console.WriteLine(string.Join(",", visited)); // 1,2,3,4,7,8
namespace Shop.Extensions
{
public static class SequenceExtensions
{
extension<T>(IEnumerable<T> source)
{
// Enumerates on every access, so keep it for small or cheap sequences.
public T this[int index] => source.ElementAt(index);
}
}
}References: Microsoft Learn: What's new in C# 15 · Microsoft Learn: C# compiler breaking changes since C# 14
Library additions worth adopting now
LINQ gains FullJoin to complete LeftJoin and RightJoin, plus overloads of Join, LeftJoin and FullJoin that omit the result selector and return tuples with elements named Outer and Inner. They exist on Enumerable, Queryable and AsyncEnumerable, and EF Core 11 translates FullJoin to FULL JOIN. EqualityComparer<T>.Create now accepts a key selector and an optional key comparer, which retires many hand-written comparers; the selector can receive null.
Process gains run-and-capture helpers: Process.RunAndCaptureTextAsync collects standard output and error and returns the exit status in one call. There are also fire-and-forget and suspended starts, Process.TryGetProcessById and Process.Signal for POSIX signals. ReadOnlyMemoryStream, ReadOnlySequenceStream and StringStream wrap in-memory data without copying.
System.Text.Json adds union support and JSON Lines output through SerializeAsyncEnumerable with topLevelValues set to true. Zstandard joins Brotli and GZip in System.IO.Compression, and reading ZIP entries now validates CRC32. Numerics adds the IEEE 754 decimal types Decimal32, Decimal64 and Decimal128 and generic methods such as Random.Shared.NextInteger<T>(). DataAnnotations gains asynchronous validation through AsyncValidationAttribute and Validator.ValidateObjectAsync, and MemoryCache publishes OpenTelemetry metrics when TrackStatistics is on. The composite ML-KEM, HPKE and caller-driven TLS session APIs are experimental.
C# 15 · .NET 11 SDK
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
Customer[] customers = [new(1, "Ada"), new(2, "Linus"), new(3, "Grace")];
Order[] orders = [new(1, 120m), new(1, 80m), new(4, 15m)];
// FullJoin keeps unmatched rows from both sides; the missing side is default.
foreach (var (customer, order) in customers.FullJoin(orders, c => c.Id, o => o.CustomerId))
Console.WriteLine($"{customer?.Name ?? "(unknown)"}: {order?.Total.ToString() ?? "-"}");
// Ada: 120
// Ada: 80
// Linus: -
// Grace: -
// (unknown): 15
// Join without a result selector returns (Outer, Inner) tuples.
decimal adaTotal = customers.Join(orders, c => c.Id, o => o.CustomerId)
.Where(pair => pair.Outer.Name == "Ada")
.Sum(pair => pair.Inner.Total);
Console.WriteLine(adaTotal); // 200
// A comparer from a key selector plus an optional key comparer.
// The selector can receive null, hence c?.Email.
var byEmail = EqualityComparer<Contact>.Create(c => c?.Email, StringComparer.OrdinalIgnoreCase);
var contacts = new HashSet<Contact>(byEmail)
{
new("ada@example.com", "Ada"),
new("ADA@example.com", "Ada L."),
};
Console.WriteLine(contacts.Count); // 1
// Run a process and capture its output in one call.
ProcessTextOutput result = await Process.RunAndCaptureTextAsync("dotnet", ["--version"]);
Console.WriteLine($"exit {result.ExitStatus.ExitCode}: {result.StandardOutput.Trim()}");
// exit 0: 11.0.100 (whatever SDK is on the PATH)
public sealed record Customer(int Id, string Name);
public sealed record Order(int CustomerId, decimal Total);
public sealed record Contact(string Email, string Name);References: Microsoft Learn: What's new in the .NET 11 libraries · Microsoft Learn: What's new in EF Core 11
ASP.NET Core 11 and Blazor 11
For APIs, the practical changes are validation and documentation. Minimal APIs support asynchronous validation with the same attribute and interface as DataAnnotations, validation messages can be localized, endpoint filters now run when parameter binding fails, and a ShortCircuit attribute runs an endpoint right after routing. Generated OpenAPI documents default to OpenAPI 3.2 through Microsoft.OpenApi 3.x; set OpenApiVersion to OpenApi3_1 if your tooling cannot read 3.2. Response compression supports Zstandard and enables it by default.
In Blazor, static server rendering gains TempData and session-backed parameters, client-side validation is on by default for forms that use DataAnnotationsValidator, and forms support asynchronous field validation. Virtualize handles variable item heights and raises its default OverscanCount from 3 to 15, QuickGrid keeps paging and sorting in the query string, and server circuits receive refreshed authentication state without reconnecting. Calling app.UseAntiforgery() is now optional.
Read the ASP.NET Core breaking-change list before upgrading. The ConcurrencyLimiter middleware and the MVC compatibility options are removed, obsolete Blazor APIs are gone, Kestrel tightens HTTP protocol compliance, and hosting emits OpenTelemetry semantic-convention tags by default, which can change telemetry dashboards.
References: Microsoft Learn: What's new in ASP.NET Core for .NET 11 · Microsoft Learn: Breaking changes in ASP.NET Core 11
EF Core 11 requires .NET 11
EF Core 11 builds only with the .NET 11 SDK and runs only on the .NET 11 runtime, so a team that chooses .NET 10 stays on EF Core 10. Query translation is the headline. Split queries drop unnecessary joins to reference navigations and redundant keys leave ORDER BY clauses; Microsoft reports a 29 percent gain in one split-query scenario and 22 percent in one single-query scenario. MaxBy and MinBy are translated, GroupBy improves, and no-op CAST expressions that blocked index use are stripped.
Complex types now work with TPT and TPC inheritance, their properties can take part in keys and indexes, and the Azure Cosmos DB provider supports them fully. SQL Server gains experimental vector indexes with an approximate VectorSearch(), full-text indexes created through migrations and temporal period columns mapped to CLR properties. dotnet ef database update --add creates and applies a migration in one step, and the model snapshot records the latest migration ID, so diverging migration branches become an explicit merge conflict.
Several defaults change. UseSqlServer now assumes compatibility level 160, SQL Server 2022, so older servers need UseCompatibilityLevel(150). Migrate throws when no migrations exist, and split queries throw DbQueryConcurrencyException instead of silently returning empty collections when data changes between statements. Microsoft.Data.SqlClient 7.0 moves Entra ID authentication into the Microsoft.Data.SqlClient.Extensions.Azure package, and the Cosmos DB provider no longer preserves unmapped document properties, which can lose data on save.
References: Microsoft Learn: What's new in EF Core 11 · Microsoft Learn: Breaking changes in EF Core 11
SDK and tooling changes you will notice
The dotnet command now starts through a Native AOT host by default, so --version, --info and help pages run without starting the managed CLI, and tools such as dotnet ef skip the 600 to 700 millisecond managed startup Microsoft cites. The MSBuild server is also on by default. If either causes trouble in CI, DOTNET_CLI_ENABLEAOT=false and DOTNET_CLI_USE_MSBUILD_SERVER=false opt out. Linux and macOS installers are smaller because duplicate assemblies became symbolic links.
File-based apps can split across files with #:include. dotnet run -e KEY=VALUE passes environment variables, dotnet sln edits solution filters, and dotnet watch integrates with Aspire and restarts after a crash. dotnet test on Microsoft.Testing.Platform adds run-level --timeout and --maximum-failed-tests, and the xunit template can generate xUnit v3 projects. dotnet nuget add source accepts --min-publish-age-hours, so automatic version selection ignores very recently published packages.
Projects with AnalysisLevel set to latest were wrongly getting .NET 9 rules; that is fixed, so expect new warnings on the first build. CA1873 is less noisy and now says why an argument was flagged.
References: Microsoft Learn: What's new in the SDK and tooling for .NET 11
Breaking changes most likely to bite
Most entries in the .NET 11 breaking-change list are narrow, but a few affect ordinary services. IHost.RunAsync and IHost.StopAsync now throw when a BackgroundService fails, so a worker that used to fail quietly can now stop the host. Dependency injection scope disposal aggregates exceptions, and an empty string from a later configuration provider now overrides earlier providers instead of being ignored.
DateOnly and TimeOnly TryParse methods throw ArgumentException for invalid DateTimeStyles values or format specifiers instead of returning false. Named mutexes on Unix default to user scope, TAR readers verify header checksums, and DeflateStream and GZipStream write headers and footers even for empty payloads, which changes byte-for-byte output. Restore no longer searches the global packages folder for a higher version.
The compiler adds its own breaks: union and closed are contextual keywords in type declarations, with(...) in a collection expression means constructor arguments, Span collection expressions get declaration-block safe context, and nameof(this.Member) in an attribute is rejected. These surface as compile errors, the friendly kind. Mobile developers face the largest change: .NET MAUI apps move from Mono to CoreCLR, and the minimum Android API level rises to 24.
References: Microsoft Learn: Breaking changes in .NET 11 · Microsoft Learn: C# compiler breaking changes since C# 14
Project settings: TFM, LangVersion and analyzers
The language version follows the target framework: net11.0 compiles as C# 15 by default, and a temporary #error version directive in our test project reported language version 15.0. Remove LangVersion overrides instead of raising them, and avoid LangVersion latest, whose meaning depends on the installed SDK. Union types also depend on UnionAttribute and IUnion, which ship in the .NET 11 runtime.
Centralize the settings in Directory.Build.props so that one change moves every project, and raise AnalysisLevel with warnings as errors during the upgrade so new rules appear at once. Keep the runtime-async opt-in as a separate, later commit so that any behavioral change has a single cause. Multi-targeted libraries should list net10.0;net11.0 and keep C# 15 syntax inside #if NET11_0_OR_GREATER blocks, because the net10.0 build compiles as C# 14.
C# 15 · .NET 11 SDK
<!-- Directory.Build.props -->
<Project>
<PropertyGroup>
<TargetFramework>net11.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- No LangVersion: net11.0 implies C# 15. -->
<AnalysisLevel>latest-recommended</AnalysisLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Second step, after the baseline upgrade is green: -->
<Features>$(Features);runtime-async=on</Features>
</PropertyGroup>
</Project>References: Microsoft Learn: What's new in C# 15 · Microsoft Learn: What's new in the SDK and tooling for .NET 11 · Microsoft Learn: What's new in the .NET 11 runtime
An upgrade sequence for teams leaving .NET 8 and 9
Start with an inventory: every deployable unit with its target framework, hosting environment, base image and CPU model. Run dotnet package list with --outdated and --vulnerable to find blockers; packages with native components, source generators or analyzers deserve a specific check. Then decide per system between .NET 10 and .NET 11. A portfolio can mix both, since both are supported until November 2028.
Pin the SDK with a global.json file created by dotnet new globaljson, with rollForward set to latestFeature so that patch and feature-band updates apply while the major version stays fixed. Point CI at the same file, for example through the global-json-file input of the setup-dotnet action on GitHub, and move images from the 8.0 or 9.0 tags to 10.0 or 11.0 on mcr.microsoft.com/dotnet/sdk and mcr.microsoft.com/dotnet/aspnet.
Then upgrade in small, separately deployable steps. Change the target framework and package versions without adopting new features, fix what the compiler and analyzers report, and read the breaking-change pages for .NET, ASP.NET Core and EF Core, because behavioral entries do not appear as errors. Run integration tests against real databases, watching the SQL Server compatibility level, host shutdown behavior and golden files with compressed data or rounded numbers. Deploy, watch error rates and latency for a release cycle, and only then adopt unions, closed hierarchies or runtime async, one at a time.
Teams coming from .NET 8 cross the .NET 9 and .NET 10 breaking-change lists too, and pick up C# 14 extension members and the field keyword in the same jump. When the deadline is tight, that is one more argument for landing on .NET 10 first.
C# 15 · .NET 11 SDK
# upgrade-check.sh
# Pin the SDK for developer machines and CI.
dotnet new globaljson --sdk-version 11.0.100 --roll-forward latestFeature --force
dotnet --version # 11.0.100
dotnet sdk check # lists installed SDKs and runtimes and their status
# Find packages that block the upgrade or carry known vulnerabilities.
dotnet package list --outdated
dotnet package list --vulnerable --include-transitive
# Build with warnings as errors to surface new analyzer and compiler findings.
dotnet build -warnaserror
# Move container base images to the new tags.
docker pull mcr.microsoft.com/dotnet/sdk:11.0
docker pull mcr.microsoft.com/dotnet/aspnet:11.0References: .NET support policy · Microsoft Learn: Breaking changes in .NET 11 · Microsoft Learn: Breaking changes in ASP.NET Core 11 · Microsoft Learn: Breaking changes in EF Core 11 · Microsoft Learn: What's new in the SDK and tooling for .NET 11
Continue with SharpRune
Sources & further reading
Technical references checked against primary documentation. Code samples in this article target C# 15 · .NET 11 SDK; in the browser playground, choose .NET 10 or 11 in Settings.
- Microsoft Learn: What's new in the .NET 11 runtime
- Microsoft Learn: What's new in the .NET 11 libraries
- Microsoft Learn: What's new in the SDK and tooling for .NET 11
- Microsoft Learn: What's new in C# 15
- Microsoft Learn: Union types (C# reference)
- Microsoft Learn: C# compiler breaking changes since C# 14
- Microsoft Learn: Breaking changes in .NET 11
- Microsoft Learn: What's new in ASP.NET Core for .NET 11
- Microsoft Learn: Breaking changes in ASP.NET Core 11
- Microsoft Learn: What's new in EF Core 11
- Microsoft Learn: Breaking changes in EF Core 11
- .NET support policy
