public OutputCachingService( IOutputCacheKeysProvider cacheKeysProvider, OutputCacheOptions cacheOptions) { _cache = new MemoryCache(new MemoryCacheOptions()); _cacheKeysProvider = cacheKeysProvider; _cacheOptions = cacheOptions; }
public OutputCacheMiddleware(RequestDelegate next, IOutputCachingService cache, OutputCacheOptions options) { _next = next; _cache = cache; _options = options; }