Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DisableRateLimitingAttribute Class

Definition

Namespace:
Microsoft.AspNetCore.RateLimiting
Assembly:
Microsoft.AspNetCore.RateLimiting.dll
Package:
Microsoft.AspNetCore.App.Ref v10.0.0
Package:
Microsoft.AspNetCore.App.Ref v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.RateLimiting v7.0.0-rc.2.22476.2
Package:
Microsoft.AspNetCore.App.Ref v8.0.19
Package:
Microsoft.AspNetCore.App.Ref v9.0.8
Source:
DisableRateLimitingAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Metadata that disables request rate limiting on an endpoint.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class DisableRateLimitingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type DisableRateLimitingAttribute = class
 inherit Attribute
Public NotInheritable Class DisableRateLimitingAttribute
Inherits Attribute
Inheritance
DisableRateLimitingAttribute
Attributes

Remarks

Completely disables the rate limiting middleware from applying to this endpoint.

Constructors

Name Description
DisableRateLimitingAttribute()

Applies to


Feedback

Was this page helpful?