.NET 11 Preview 7 has been released, bringing improvements across the entire .NET ecosystem. Key highlights include IEEE 754 decimal floating-point types and Generic Complex<T> in libraries, runtime-async tiering and tail-await optimizations, NativeAOT dotnet CLI enabled by default, MSBuild server enabled by default, and new dotnet test options including run-level timeout and maximum-failed-tests flags. C# gains labeled break/continue and union patterns. ASP.NET Core adds auto-pause for Blazor circuits on inactivity, Blazor SSR output caching with CacheView, and built-in validation localization. .NET MAUI introduces cross-platform passkey authentication and XAML incremental hot reload. Entity Framework Core improves LINQ query translation and Azure Cosmos DB provider support. Windows Forms adds .NET 11 visual styles opt-in and dark-mode flash prevention.

3m read timeFrom devblogs.microsoft.com
Post cover image
Table of contents
Libraries Copy linkRuntime Copy linkSDK Copy linkC# Copy linkASP.NET Core Copy link.NET MAUI Copy linkEntity Framework Core Copy linkF# Copy linkWindows Forms Copy linkGet started Copy link

Questions this post answers

What new features does dotnet test get in .NET 11?

In .NET 11, dotnet test gains a run-level --timeout flag, a --maximum-failed-tests option, support for Microsoft.Build.Traversal projects, reporter improvements on Microsoft.Testing.Platform, and .NET MAUI device and environment support. Developers expanding test infrastructure track dotnet test changes like these on daily.dev.

Is NativeAOT dotnet CLI enabled by default in .NET 11?

Yes, the NativeAOT dotnet CLI is enabled by default starting in .NET 11 Preview 7. MSBuild server is also enabled by default in this same preview release. Teams evaluating NativeAOT for production workloads follow .NET 11 preview milestones on daily.dev.

What Blazor improvements are in .NET 11 Preview 7?

.NET 11 Preview 7 adds auto-pause of Blazor circuits on inactivity, Blazor SSR output caching via a new CacheView component, new Blazor analyzers, QuickGrid support for InitialItemIndex and ScrollToItemAsync, and Razor support for literal attributes on union-typed component parameters. Blazor developers shipping SSR apps keep up with preview changes like these on daily.dev.

28.7K Impressions