9 writes to CacheKey
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
383context.CacheKey = _keyProvider.CreateStorageKey(context);
Microsoft.AspNetCore.OutputCaching.Tests (8)
OutputCacheMiddlewareTests.cs (8)
104context.CacheKey = "BaseKey"; 713context.CacheKey = "BaseKey"; 742context.CacheKey = "BaseKey"; 775context.CacheKey = "BaseKey"; 800context.CacheKey = "BaseKey"; 822context.CacheKey = "BaseKey"; 872context.CacheKey = "BaseKey"; 1075context.CacheKey = "";
7 references to CacheKey
Microsoft.AspNetCore.OutputCaching (6)
OutputCacheMiddleware.cs (6)
145var cacheEntry = await _requestDispatcher.ScheduleAsync(context.CacheKey, key => ExecuteResponseAsync()); 336if (string.IsNullOrEmpty(cacheContext.CacheKey)) 347cacheEntry = await _outputCacheEntryDispatcher.ScheduleAsync(cacheContext.CacheKey, (Store: _store, CacheContext: cacheContext), static async (key, state) => await OutputCacheEntryFormatter.GetAsync(key, state.Store, state.CacheContext.HttpContext.RequestAborted)); 378if (!string.IsNullOrEmpty(context.CacheKey)) 435if (string.IsNullOrEmpty(context.CacheKey)) 443await OutputCacheEntryFormatter.StoreAsync(context.CacheKey, context.CachedResponse, context.Tags, context.CachedResponseValidFor,
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheMiddlewareTests.cs (1)
110await OutputCacheEntryFormatter.StoreAsync(context.CacheKey,