software engineering4 min read

.NET 11: ASP.NET Core Updates including Union Types, OpenAPI 3.2, and Blazor AI Components

  • ASP.NET Core
  • .NET
  • Blazor
  • SignalR
  • Kestrel
  • OpenAPI

AI Summary

Microsoft has released ASP.NET Core in .NET 11, introducing support for C# 15 union types in JSON bodies, asynchronous Minimal API validation, [ShortCircuit] attributes, and default OpenAPI 3.2 support. Additional updates cover SignalR authentication refresh, extensive Blazor enhancements including static SSR caching and experimental AI components, Zstandard compression support, and Kestrel performance improvements.

Key Takeaways

  • C# 15 union types are supported in JSON request and response bodies across Minimal APIs and MVC.
  • OpenAPI document generation defaults to version 3.2 using Microsoft.OpenApi 3.3.1, introducing breaking changes for certain schemas.
  • SignalR now supports authentication refresh without dropping long-lived connections, improving reliability for real-time apps.

Why it matters

Understanding the new features, performance optimizations, and breaking changes in .NET 11 helps software engineers effectively upgrade their web APIs, optimize server resources, and leverage modern C# language features like union types within ASP.NET Core applications.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.