← Wed, Nov 11 digest

Announcing .NET 11

read article ↗ hn thread ↗

Microsoft has released .NET 11, introducing C# 15 union types, Native AOT SDK tooling, runtime async previews, and extensive AI and agentic application frameworks.

summary is enough The release notes provide a comprehensive overview of new language features and runtime updates, making it a quick skim for backend developers.

summary

Microsoft has released .NET 11 as a Standard Term Support release packed with language, runtime, and tooling enhancements. Key additions include C# 15 union types and closed hierarchies, an SDK that defaults to a Native AOT CLI host, and preview runtime async capabilities designed to improve stack trace visibility. The release also heavily expands native AI capabilities through Microsoft.Extensions.AI and agentic workflows, alongside performance improvements across EF Core, ASP.NET Core, and .NET MAUI.

key points

  1. C# 15 introduces native union types and closed hierarchies, enabling exhaustiveness checking in switch expressions without requiring inheritance workarounds.
  2. The .NET 11 SDK defaults to a Native AOT CLI host and a warm MSBuild server, significantly reducing startup overhead for everyday development tasks.
  3. A preview 'Runtime Async' feature shifts asynchronous suspension and resumption into the runtime, offering cleaner call stacks and profiler visibility.
  4. New library features include LINQ FullJoin, built-in Zstandard compression, and process-execution API expansions.

who should read it

Backend, full-stack, and desktop developers using or evaluating the .NET ecosystem.

discussion positive

consensus

Commenters generally praise the steady engineering quality and performance of modern .NET on Linux and backend services, while noting that the even/odd release numbering follows a predictable STS/LTS pattern.

pushback

Some developers expressed lingering skepticism due to historical Microsoft platform churn or pointed out a subtle breaking change in decimal casting behavior in .NET 11.

best comment by 1a527dd5 ↗

https://learn.microsoft.com/en-us/dotnet/core/compatibility/...

Be aware

(decimal)0.1 // .NET 10: 0.1 // .NET 11: 0.1000000000000000055511151231

It surfaces a critical and subtle breaking change regarding decimal casting behavior that developers migrating to .NET 11 need to watch out for.

Generated by an LLM from the article and thread. Check the sources before relying on it.