.NET 11 erschienen: C# 15 mit Union Types und Native AOT CLI Host
Microsoft hat .NET 11 als Standard-Term-Support-Release mit zwei Jahren Unterstützung veröffentlicht. Neu sind unter anderem Union Types und geschlossene Hierarchien in C# 15, ein Native AOT CLI Host sowie Zstandard-Kompression und OpenAPI 3.2 in ASP.NET Core.

Wie in der Ankündigung stated, bleibt.NET 10 die Long-Term-Support-Option, während.NET 8 und.NET 9 am selben Tag, dem 10. November 2026, das Ende des Supports erreichten. Die Veröffentlichung fiel mit der diesjährigen.NET Conf zusammen, die vom 10. bis 13. November stattfand.
C# 15 ist die Standard-Sprachversion für Projekte, die auf.NET 11 abzielen. Es führt Union-Types ein, die mit dem Schlüsselwort union deklariert werden, und der Compiler prüft switch-Ausdrücke darüber auf Vollständigkeit. Geschlossene Hierarchien beschränken die Ableitung auf die deklarierende Assembly.
Die Sprache erhält zudem Collection-Expression-Argumente, Extension-Indexer sowie gelabelte break- und continue-Anweisungen, während die Arbeiten an der Speichersicherheit im Preview-Stadium bleiben. F# 11 senkt laut der Veröffentlichung den Speicherverbrauch des Compilers und reduziert Collection-Allokationen in FSharp.Core.
Im SDK startet die CLI nun standardmäßig über einen Native-AOT-Host und hält den MSBuild-Server zwischen Aufrufen warm. Der Befehl dotnet test erhält Timeouts auf Run-Ebene und Fehlergrenzen, und das Veröffentlichen von Containern kann reproduzierbare Digests erzeugen. In der Runtime bleibt Runtime Async eine Vorschau und wird über ein Feature-Flag aktiviert.
Der JIT entfernt mehr Bounds Checks und verbessert die Devirtualisierung. Wie in der Dokumentation beschrieben, erhöht die Veröffentlichung außerdem die minimalen Hardwareanforderungen, und die x86/x64-Baseline verschiebt sich auf x86-64-v2.
Die Bibliotheken ergänzen Zstandard-Komprimierung in System.IO.Compression, neue Process-APIs zum Starten eines Prozesses und zum Erfassen seiner Ausgabe sowie vier In-Memory-Stream-Adapter. System.Text.Json unterstützt C#-Unions und die JSON-Lines-Ausgabe, und LINQ erhält einen FullJoin-Operator.
ASP.NET Core 11 fügt asynchrone Validierung hinzu und erzeugt standardmäßig OpenAPI-3.2-Dokumente, was die Release Notes als Breaking Change einstufen. SignalR kann die Authentifizierung ohne erneute Verbindung auffrischen.
Blazor erhält eine CacheView-Komponente für statisches serverseitiges Rendering, clientseitige Validierung für statische SSR-Formulare sowie eine optionale automatische Circuit-Pause für inaktive Tabs. Ein experimentelles Paket mit KI-Komponenten für Blazor ist ebenfalls verfügbar.
.NET MAUI nutzt nun CoreCLR als Standard-Runtime, wobei Mono weiterhin verfügbar ist und Native AOT als Option wählbar bleibt. Wie berichtet, ist XAML Incremental Hot Reload für Debug-Builds standardmäßig aktiviert, XAML-Namensraum-Deklarationen sind implizit, und das Paket Microsoft.Maui.Controls.Compatibility wird nicht mehr ausgeliefert.
Entity Framework Core 11 setzt.NET 11 voraus. Es erzeugt weniger unnötige Joins, übersetzt FullJoin, unterstützt komplexe Typen und JSON-Spalten mit TPT- und TPC-Vererbung und fügt eine experimentelle Vektorsuche für SQL Server hinzu.
Weitere Änderungen in dieser Version sind die Vorlage dotnet new mcpserver, das Toolchain-Management-Tool dotnetup in der öffentlichen Vorschau,.NET Skills für Coding-Agents, optional aktivierbare moderne visuelle Stile in Windows Forms sowie Zuverlässigkeitsfixes in WPF.
Auf Reddit fiel die Reaktion gemischt aus. Mehrere Entwickler begrüßten Union-Types als Ersatz für handgeschriebene Result-Klassen, andere wiesen darauf hin, dass.NET 11 und.NET 10 dasselbe End-of-Support-Datum teilen.
Die am häufigsten positiv bewerteten Kommentare argumentierten, dass KI-Coding-Tools neue Versionen weniger aufregend wirken lassen. Andere Nutzer kritisierten den Code-Fix für nicht-vollständige switch-Ausdrücke und forderten, die Änderung bei der Decimal-Konvertierung sichtbarer zu machen.
Für interessierte Leser sind die vollständigen Release Notes und die Liste der Breaking Changes in der offiziellen.NET 11-Dokumentation verfügbar.
Equal Experts hilft Organisationen, KI zu nutzen, Technologie zu modernisieren und bessere Software durch exzellentes Engineering, Zusammenarbeit und innovative Delivery-Praktiken zu entwickeln. Erfahren Sie mehr.
Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.
Original (Englisch) anzeigen
As stated in the announcement,.NET 10 remains the Long-Term Support option, while.NET 8 and.NET 9 reached end of support on the same day, November 10, 2026. The release coincided with this year's.NET Conf, held from November 10 to 13.
C# 15 is the default language version for projects that target.NET 11. It adds union types, declared with the union keyword, and the compiler checks switch expressions over them for exhaustiveness. Closed hierarchies limit derivation to the declaring assembly.
The language also gains collection expression arguments, extension indexers, and labeled break and continue statements, while the memory safety work stays in preview. F# 11, according to the release, lowers compiler memory use and reduces collection allocations in FSharp.Core.
In the SDK, the CLI now starts through a Native AOT host by default and keeps the MSBuild server warm between invocations. The dotnet test command gains run-level timeouts and failure limits, and container publishing can produce reproducible digests. In the runtime, Runtime Async remains a preview and is turned on with a feature flag.
The JIT removes more bounds checks and improves devirtualization. As described in the documentation, the release also raises the minimum hardware requirements, and the x86/x64 baseline moves to x86-64-v2.
The libraries add Zstandard compression to System.IO.Compression, new Process APIs for running a process and capturing its output, and four in-memory stream adapters. System.Text.Json supports C# unions and JSON Lines output, and LINQ gains a FullJoin operator.
ASP.NET Core 11 adds asynchronous validation and generates OpenAPI 3.2 documents by default, which the release notes list as a breaking change. SignalR can refresh authentication without reconnecting.
Blazor receives a CacheView component for static server-side rendering, client-side validation for static SSR forms, and an opt-in automatic circuit pause for inactive tabs. An experimental package with AI components for Blazor is also available.
.NET MAUI now uses CoreCLR as the default runtime, with Mono still available and Native AOT as an opt-in option. As reported, XAML Incremental Hot Reload is on by default for Debug builds, XAML namespace declarations are implicit, and the Microsoft.Maui.Controls.Compatibility package no longer ships.
Entity Framework Core 11 requires.NET 11. It generates fewer unnecessary joins, translates FullJoin, supports complex types and JSON columns with TPT and TPC inheritance, and adds experimental vector search for SQL Server.
Other changes in this release are the dotnet new mcpserver template, the dotnetup toolchain manager in public preview,.NET Skills for coding agents, opt-in modern visual styles in Windows Forms, and reliability fixes in WPF.
On Reddit, the reaction was mixed. Several developers welcomed union types as a replacement for hand-written result classes, and others said that.NET 11 and.NET 10 share the same end-of-support date.
The most upvoted comments argued that AI coding tools have made new releases feel less exciting. Other users criticized the code fix for non-exhaustive switch expressions and asked for the decimal conversion change to be more visible.
For interested readers, the full release notes and the list of breaking changes are available in the official.NET 11 documentation.
Equal Experts helps organizations harness AI, modernize technology, and build better software through expert engineering, collaboration, and innovative delivery practices. Learn more.