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