Urgent.News

What's breaking now, across thousands of outlets.

AI

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

Microsoft has released ASP.NET Core in .NET 11. The update adds C# union type support in JSON bodies, asynchronous validation for Minimal APIs, OpenAPI 3.2 by default, and SignalR authentication refresh. Blazor gains a CacheView component, client-side validation for static SSR forms, opt-in circuit pause for inactive tabs, and experimental AI components. Zstandard compression is on by default. By…

Microsoft recently released ASP.NET Core as part of the .NET 11 update, which includes a range of new features and improvements. One of the key additions is support for C# 15 union types in JSON request and response bodies, allowing developers to use this feature specifically for Minimal APIs and MVC. Additionally, ASP.NET Core now supports OpenAPI 3.2 by default, providing more detailed documentation for endpoints and enabling the emission of an anyOf schema for unions.

SignalR has been enhanced with authentication refresh capabilities, enabling long-lived connections to bypass token expiration and maintain their state. Blazor, meanwhile, has received numerous updates, including support for static server-side rendering, client-side validation for static SSR forms, and the ability to mix items of different heights in lists built with Virtualize.

Furthermore, Microsoft has introduced Microsoft.AspNetCore.Components.AI, a suite of components for chat and agent interfaces that is currently in prerelease.

Security improvements in this release include the addition of Device Bound Session Credentials, a protocol that ties session refresh to a private key held by the browser. Additionally, Kestrel's HTTP/1.1 parser now handles malformed requests without throwing exceptions, potentially improving throughput by up to 20-40 percent under heavy invalid traffic.

Other notable changes include native OpenTelemetry tracing attributes, client-side cancellation of SignalR hub invocations, and passkey display names inferred from authenticators.

Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at infoq.com →

More in AI

More from Thursday 19 November →