9 writes to CacheKey
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
382
context.
CacheKey
= _keyProvider.CreateStorageKey(context);
Microsoft.AspNetCore.OutputCaching.Tests (8)
OutputCacheMiddlewareTests.cs (8)
104
context.
CacheKey
= "BaseKey";
617
context.
CacheKey
= "BaseKey";
646
context.
CacheKey
= "BaseKey";
679
context.
CacheKey
= "BaseKey";
704
context.
CacheKey
= "BaseKey";
726
context.
CacheKey
= "BaseKey";
776
context.
CacheKey
= "BaseKey";
980
context.
CacheKey
= "";
7 references to CacheKey
Microsoft.AspNetCore.OutputCaching (6)
OutputCacheMiddleware.cs (6)
138
var cacheEntry = await _requestDispatcher.ScheduleAsync(context.
CacheKey
, key => ExecuteResponseAsync());
335
if (string.IsNullOrEmpty(cacheContext.
CacheKey
))
346
cacheEntry = await _outputCacheEntryDispatcher.ScheduleAsync(cacheContext.
CacheKey
, (Store: _store, CacheContext: cacheContext), static async (key, state) => await OutputCacheEntryFormatter.GetAsync(key, state.Store, state.CacheContext.HttpContext.RequestAborted));
377
if (!string.IsNullOrEmpty(context.
CacheKey
))
434
if (string.IsNullOrEmpty(context.
CacheKey
))
442
await OutputCacheEntryFormatter.StoreAsync(context.
CacheKey
, context.CachedResponse, context.Tags, context.CachedResponseValidFor,
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheMiddlewareTests.cs (1)
110
await OutputCacheEntryFormatter.StoreAsync(context.
CacheKey
,