Table of Contents

Namespace Cuemon.Extensions.AspNetCore.Http.Throttling

Assembly: Cuemon.Extensions.AspNetCore.dll

Configure throttling middleware for your ASP.NET Core application with an in-memory throttling cache. Use this namespace when you need to rate-limit requests based on client characteristics. Start with UseThrottlingSentinel on IApplicationBuilder to enable rate limiting, or register a cache provider with AddMemoryThrottlingCache or AddThrottlingCache<T> on IServiceCollection.

Availability: .NET 10 and .NET 9

Complements: Cuemon.AspNetCore.Http.Throttling namespace 📘

Extension Members

Type Ext Methods
IApplicationBuilder ⬇️ UseThrottlingSentinel
IServiceCollection ⬇️ AddThrottlingCache<T>, AddMemoryThrottlingCache, AddThrottlingSentinelOptions

Classes

ApplicationBuilderExtensions

Extension methods for the IApplicationBuilder interface.

ServiceCollectionExtensions

Extension methods for the IServiceCollection interface.