Announcing .NET 11

#634 – November 15, 2026

improvements across the full stack, including C# 15 union types, faster SDK tooling, and hundreds of runtime optimizations

Announcing .NET 11
17 minutes by .NET Team

.NET 11 is now available with improvements across the full stack, including C# 15 union types, faster SDK tooling, and hundreds of runtime optimizations. ASP.NET Core gains async validation and OpenAPI 3.2, while .NET MAUI moves to CoreCLR as its default runtime. The release also adds built-in AI development tools, including an MCP server template and new Blazor components for building agent-powered apps.

Webinar: State of AI Engineering 2026 Webinar
sponsored by Progress Telerik

Join Progress and SlashData experts as they unpack insights from 800+ developers, architects and engineering leaders on the state of AI engineering. Explore what it takes to move AI from experimentation to production, and discover the AI Engineering Maturity Index to benchmark your organization’s practices.

Device bound session credentials in ASP.NET Core
9 minutes by Maarten Balliauw

Session cookies work like keys: steal one and you own the account. Maarten argues DBSC fixes this by tying a session to a private key locked in the device's hardware, so copied cookies expire fast and can't be refreshed without a signature only the device can produce. ASP.NET Core added server-side support in .NET 11, but it was pulled before release for being incomplete. The plan is to rework it for .NET 12.

Packing algorithms in C# from boxes to restaurant bookings
36 minutes by Scott Galloway

Packing problems share a common challenge: having enough total space doesn't mean everything will fit. Simple strategies like first fit and best fit work well for one-dimensional bin packing, but adding physical dimensions, irregular shapes, or time makes the problem harder. Scott points out a restaurant booking system shows this clearly: free time scattered across a schedule cannot simply be added together, and a table must meet capacity and accessibility rules before availability even matters. Finding valid placements first, then ranking them by preference, keeps the logic clean and failures easy to explain.

File-based apps in .NET 11: Room to grow
8 minutes by Barret Blake

.NET 11 expands file-based apps, letting you write and run a single C# file without creating a full project. You can now split code across multiple files using directives, reference existing libraries, and manage NuGet packages directly from the command line. Tools like dotnet package add and dotnet reference add work straight against a .cs file. When a utility outgrows this approach, one command converts it to a standard project.

Convert string to integer
5 minutes by Khalid Abuhakmeh

C# offers three ways to convert strings to integers. Khalid suggests using int.TryParse for untrusted input because it returns a bool instead of throwing exceptions, using int.Parse only when input is guaranteed valid, and Convert.ToInt32 when null should equal zero. He warns to watch out for culture and formatting issues, as strings like "1,304" need explicit number styles and culture settings to parse correctly.

And the most popular article from the last issue was:

newsletters