· ai-devtools

.NET 11 : ASP.NET Core: Union Type Support, OpenAPI 3.2 by Default and Blazor AI Components

The update spans Minimal APIs, OpenAPI, SignalR, Blazor, authentication, and the Kestrel server.


As stated in the announcement, .NET 11 is a Standard Term Support release with two years of support. On the API side, developers can now use C# 15 union types in JSON request and response bodies across Minimal APIs and MVC.

The release notes limit the feature to JSON bodies, so route, query, header, and form values cannot bind to a union. Minimal API validation also runs asynchronous validators, which keeps threads free while a rule waits on a database lookup or a remote call. The framework can now localize validation messages and display names itself, and endpoints can skip the remaining middleware pipeline through a new [ShortCircuit] attribute.

Related coverage

Also worth reading

  1. next.js 16.5.0-canary.59 released
  2. next.js 16.5.0-canary.56 released
  3. Frontier Design Benchmark
  4. scroll-state()
  5. Presentation: AI-Assisted Software Delivery: From Code to Production