ConcurrencyLimiterExtensions.UseConcurrencyLimiter Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
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
Aggiunge l'oggetto ConcurrencyLimiterMiddleware per limitare il numero di richieste simultanee in esecuzione.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseConcurrencyLimiter(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseConcurrencyLimiter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[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 static Microsoft.AspNetCore.Builder.IApplicationBuilder UseConcurrencyLimiter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseConcurrencyLimiter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<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")>]
static member UseConcurrencyLimiter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseConcurrencyLimiter (app As IApplicationBuilder) As IApplicationBuilder
Parametri
Oggetto IApplicationBuilder.
Restituisce
Oggetto IApplicationBuilder.
- Attributi