Поделиться через


ResponseCachingExtensions.UseResponseCaching(IApplicationBuilder) Метод

Определение

Добавляет для ResponseCachingMiddleware кэширования HTTP-ответов.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseResponseCaching(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseCaching (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseResponseCaching : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseResponseCaching (app As IApplicationBuilder) As IApplicationBuilder

Параметры

Возвращаемое значение

Применяется к