9 references to RequireRateLimiting
Microsoft.AspNetCore.RateLimiting (4)
RateLimiterOptionsExtensions.cs (4)
16/// The limiter can be added to an endpoint via <see cref="RateLimiterEndpointConventionBuilderExtensions.RequireRateLimiting{TBuilder}(TBuilder, string)"/>, 45/// The limiter can be added to an endpoint via <see cref="RateLimiterEndpointConventionBuilderExtensions.RequireRateLimiting{TBuilder}(TBuilder, string)"/>, 74/// The limiter can be added to an endpoint via <see cref="RateLimiterEndpointConventionBuilderExtensions.RequireRateLimiting{TBuilder}(TBuilder, string)"/>, 103/// The limiter can be added to an endpoint via <see cref="RateLimiterEndpointConventionBuilderExtensions.RequireRateLimiting{TBuilder}(TBuilder, string)"/>,
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimiterEndpointConventionBuilderExtensionsTests.cs (1)
20testConventionBuilder.RequireRateLimiting("TestPolicyName");
RateLimitingMiddlewareTests.cs (1)
636testConventionBuilder.RequireRateLimiting(policy);
RateLimitingSample (3)
Program.cs (3)
53app.MapGet("/", () => "Hello World!").RequireRateLimiting(helloName); 58.RequireRateLimiting(todoName); 63.RequireRateLimiting(completeName);