.NET 11 Preview 2 Drops New Runtime Tweaks That Fix Common Crash Scenarios
Microsoft has released the second preview release of .NET 11. The latest preview tackles those pain points head‑on, offering runtime fixes and performance boosts that help keep projects running smoothly.
The most noticeable change is “Runtime Async (V2)” which finally removes the dreaded deadlock that can surface when mixing async code with older synchronization primitives. A developer who upgraded from .NET 8 found their console app crashing mid‑execution after a recent driver update; the new JIT and cached interface dispatch now keep the runtime stable, eliminating that class of intermittent failures.
SDK Size Optimizations
Linux and macOS installers shrink by roughly 10 % thanks to slimmer packaging. Installing via dotnet-install.sh automatically chooses the correct binary for the host OS, saving bandwidth and disk space—especially handy when setting up CI agents that run many builds in parallel.
ASP.NET Core Performance
Native OpenTelemetry tracing is now baked into the framework, meaning fewer third‑party libraries and less boilerplate to get distributed traces. For teams using Blazor Server, temp data support is finally available, eliminating a common workaround that previously forced developers to persist state in external stores.
Entity Framework Core Enhancements
Adding LINQ’s MaxBy and MinBy directly into EF Core means queries can be expressed more naturally without resorting to raw SQL. The new support for SQL Server vector indexes also opens the door to faster nearest‑neighbour searches in applications that already leverage full‑text search.
MAUI Improvements
Map controls now load tiles asynchronously, reducing UI stutter when navigating large maps. Typed binding has been refactored so property change notifications no longer incur unnecessary allocations—a small win that accumulates over a busy app with dozens of live bindings.
For anyone ready to try the new preview, download the SDK from Microsoft’s site and add --preview to your build commands if you’re using older projects. The changes are backward‑compatible but bring enough polish to make everyday coding feel less like an experiment.
.NET 11 Preview 2 is now available!
Find out about the new features in .NET 11 Preview 2 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more!
