Skip to content

Latest commit

 

History

History
118 lines (97 loc) · 6.89 KB

File metadata and controls

118 lines (97 loc) · 6.89 KB

ASP.NET Core in .NET 11 Preview 3 - Release Notes

.NET 11 Preview 3 includes new ASP.NET Core features and improvements:

ASP.NET Core updates in .NET 11:

Zstandard response compression and request decompression

ASP.NET Core now supports Zstandard (zstd) for both response compression and request decompression (dotnet/aspnetcore #65479). This adds zstd support to the existing response-compression and request-decompression middleware and enables it by default.

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddResponseCompression();
builder.Services.AddRequestDecompression();
builder.Services.Configure<ZstandardCompressionProviderOptions>(options =>
{
    options.CompressionOptions = new ZstandardCompressionOptions
    {
        Quality = 6 // 1-22, higher = better compression, slower
    };
});

Thank you @manandre for this contribution!

Virtualize adapts to variable-height items at runtime

Blazor's Virtualize<TItem> component no longer assumes every item has the same height. The component now adapts to measured item sizes at runtime, which reduces incorrect spacing and scrolling when item heights vary. These updates include an update to the default value of OverscanCount from 3 to 15 to increase the precision of average item height calculations. QuickGrid continues to use an OverscanCount of 3 to reduce the potential for adverse performance impact (dotnet/aspnetcore #64964).

<Virtualize Items="messages" Context="message">
    <article class="message-card">
        <h4>@message.Author</h4>
        <p>@message.Text</p>
    </article>
</Virtualize>

HTTP/3 starts processing requests earlier

Kestrel now starts processing HTTP/3 requests without waiting for the control stream and SETTINGS frame first, which reduces first-request latency on new connections (dotnet/aspnetcore #65399).

Bug fixes

Community contributors

Thank you contributors! ❤️