Skip to content

Commit 1c8e31c

Browse files
Copilotwadepickett
andauthored
Update "What's new in ASP.NET Core in .NET 11" for Preview 3 (#36991)
* Initial plan * Add What's New include files for ASP.NET Core .NET 11 Preview 3 Agent-Logs-Url: https://github.com/dotnet/AspNetCore.Docs/sessions/a4fc8105-e81f-4a8a-93fd-4ad25c8d1d76 Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com> * Apply suggestion from @wadepickett * Rename preview3 include files to preview-3 to fix build warnings Agent-Logs-Url: https://github.com/dotnet/AspNetCore.Docs/sessions/0e68cddf-f94a-4a1b-89fc-d3c116960972 Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com> * Apply suggestion from @wadepickett --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com> Co-authored-by: Wade Pickett <wpickett@microsoft.com>
1 parent 2a1c931 commit 1c8e31c

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

aspnetcore/release-notes/aspnetcore-11.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ This section describes miscellaneous new features in .NET 11.
6262

6363
[!INCLUDE[](~/release-notes/aspnetcore-11/includes/performance-improvements-preview2.md)]
6464

65+
[!INCLUDE[](~/release-notes/aspnetcore-11/includes/zstandard-compression-preview-3.md)]
66+
67+
[!INCLUDE[](~/release-notes/aspnetcore-11/includes/http3-early-request-processing-preview-3.md)]
68+
6569
## Breaking changes
6670

6771
Use the articles in [Breaking changes in .NET](/dotnet/core/compatibility/breaking-changes) to find breaking changes that might apply when upgrading an app to a newer version of .NET.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### HTTP/3 starts processing requests earlier
2+
3+
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.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
### Zstandard response compression and request decompression
2+
3+
ASP.NET Core now supports [Zstandard (zstd)](https://facebook.github.io/zstd/) for both response compression and request decompression. This adds zstd support to the existing response-compression and request-decompression middleware and enables zstd by default.
4+
5+
```csharp
6+
var builder = WebApplication.CreateBuilder(args);
7+
8+
builder.Services.AddResponseCompression();
9+
builder.Services.AddRequestDecompression();
10+
builder.Services.Configure<ZstandardCompressionProviderOptions>(options =>
11+
{
12+
options.CompressionOptions = new ZstandardCompressionOptions
13+
{
14+
Quality = 6 // 1-22, higher = better compression, slower
15+
};
16+
});
17+
```
18+
19+
Thank you [@manandre](https://github.com/manandre) for this contribution!

0 commit comments

Comments
 (0)