8 references to ResponseCachingMiddleware
Microsoft.AspNetCore.ResponseCaching (8)
ResponseCachingExtensions.cs (3)
9
/// Extension methods for adding the <see cref="
ResponseCachingMiddleware
"/> to an application.
14
/// Adds the <see cref="
ResponseCachingMiddleware
"/> for caching HTTP responses.
21
return app.UseMiddleware<
ResponseCachingMiddleware
>();
ResponseCachingMiddleware.cs (3)
33
/// Creates a new <see cref="
ResponseCachingMiddleware
"/>.
74
_logger = loggerFactory.CreateLogger<
ResponseCachingMiddleware
>();
433
throw new InvalidOperationException($"Another instance of {nameof(ResponseCachingFeature)} already exists. Only one instance of {nameof(
ResponseCachingMiddleware
)} can be configured for an application.");
ResponseCachingOptions.cs (2)
7
/// Options for configuring the <see cref="
ResponseCachingMiddleware
"/>.
20
/// If the response body exceeds this limit, it will not be cached by the <see cref="
ResponseCachingMiddleware
"/>.