Skip to content

Add rate-limiting RetryAfter fixes to What's New for .NET 11 Preview 4#37151

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/update-rate-limiting-fixes
Draft

Add rate-limiting RetryAfter fixes to What's New for .NET 11 Preview 4#37151
Copilot wants to merge 3 commits into
mainfrom
copilot/update-rate-limiting-fixes

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

Adds coverage of the System.Threading.RateLimiting fixes from the .NET 11 Preview 4 libraries release notes, reframed for the ASP.NET Core audience.

The source material in dotnet/core is written from the .NET libraries perspective. The include file reframes it from the middleware perspective:

  • Leads with RetryAfter — the most relevant fix for ASP.NET Core developers. FixedWindowRateLimiter now reports accurate RetryAfter metadata, so the rate-limiting middleware automatically sets a meaningful Retry-After response header.
  • Secondary mention of TokenBucketRateLimiter fractional permits and ChainedRateLimiter forwarding fixes.
  • Preserves contributor acknowledgments for @asbjornvad and @apoorvdarshan.

Changes

  • New: aspnetcore/release-notes/aspnetcore-11/includes/rate-limiting-retry-after-preview4.md
  • Updated: aspnetcore/release-notes/aspnetcore-11.md — added [!INCLUDE] in Miscellaneous section, updated ms.date

Internal previews

📄 File 🔗 Preview link
aspnetcore/release-notes/aspnetcore-11.md aspnetcore/release-notes/aspnetcore-11

Copilot AI changed the title [WIP] Update What's New v11 P4 to include rate-limiting fixes Add rate-limiting RetryAfter fixes to What's New for .NET 11 Preview 4 May 14, 2026
Copilot AI requested a review from wadepickett May 14, 2026 01:30
@wadepickett
Copy link
Copy Markdown
Contributor

@copilot, Check against the code sample used in the source release notes content here:
https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview4/libraries.md#rate-limiting-fixes-for-retryafter-fractional-permits-and-chainedratelimiter

Determine why the code example was not included here in the PR, and fix if needed.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot, Check against the code sample used in the source release notes content here:
https://github.com/dotnet/core/blob/main/release-notes/11.0/preview/preview4/libraries.md#rate-limiting-fixes-f...

The code sample was omitted in the initial commit because I focused on reframing the prose for the ASP.NET Core audience and didn't carry over the code block. Added it now in commit 1eddbe7 — it shows how a FixedWindowRateLimiter lease exposes the RetryAfter metadata after a failed acquisition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

What's New v11 P4 - Update to include Rate-limiting fixes from .NET release notes

2 participants