ConcurrencyLimiterMiddleware Class

Definition

Caution

Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting

Limits the number of concurrent requests allowed in the application.

public ref class ConcurrencyLimiterMiddleware
public class ConcurrencyLimiterMiddleware
[System.Obsolete("Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting")]
public class ConcurrencyLimiterMiddleware
type ConcurrencyLimiterMiddleware = class
[<System.Obsolete("Concurrency Limiter middleware has been deprecated and will be removed in a future release. Update the app to use concurrency features in rate limiting middleware. For more information, see https://aka.ms/aspnet/rate-limiting")>]
type ConcurrencyLimiterMiddleware = class
Public Class ConcurrencyLimiterMiddleware
Inheritance
ConcurrencyLimiterMiddleware
Attributes

Constructors

ConcurrencyLimiterMiddleware(RequestDelegate, ILoggerFactory, IQueuePolicy, IOptions<ConcurrencyLimiterOptions>)

Creates a new ConcurrencyLimiterMiddleware.

Methods

Invoke(HttpContext)

Invokes the logic of the middleware.

Applies to