Built-In Rate Limiting Middleware in ASP.NET Core
The rate limiting middleware has shipped since ASP.NET Core 7.0, and the code here runs on .NET 10. We configure it with builder.Services.AddRateLimiter(), put it in the pipeline with app.UseRateLimiter(), and attach a policy to an endpoint with the...