2 implementations of CreateStorageKey
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheKeyProvider.cs (1)
38
public string
CreateStorageKey
(OutputCacheContext context)
Microsoft.AspNetCore.OutputCaching.Tests (1)
TestUtils.cs (1)
320
public string
CreateStorageKey
(OutputCacheContext? context)
30 references to CreateStorageKey
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
382
context.CacheKey = _keyProvider.
CreateStorageKey
(context);
Microsoft.AspNetCore.OutputCaching.Tests (29)
OutputCacheKeyProviderTests.cs (29)
27
Assert.Equal($"HEAD{KeyDelimiter}HTTPS{KeyDelimiter}EXAMPLE.COM:80/PATHBASE/PATH/SUBPATH", cacheKeyProvider.
CreateStorageKey
(context));
44
Assert.Equal($"HEAD{KeyDelimiter}HTTPS{KeyDelimiter}*:*/PATHBASE/PATH/SUBPATH", cacheKeyProvider.
CreateStorageKey
(context));
59
Assert.Equal($"{HttpMethods.Get}{KeyDelimiter}{KeyDelimiter}/PATH", cacheKeyProvider.
CreateStorageKey
(context));
73
Assert.Equal($"{HttpMethods.Get}{KeyDelimiter}{KeyDelimiter}/Path", cacheKeyProvider.
CreateStorageKey
(context));
91
Assert.Equal($"{context.CacheVaryByRules.CacheKeyPrefix}{KeyDelimiter}{EmptyBaseKey}", cacheKeyProvider.
CreateStorageKey
(context));
104
cacheKeyProvider.
CreateStorageKey
(context));
120
cacheKeyProvider.
CreateStorageKey
(context));
137
cacheKeyProvider.
CreateStorageKey
(context));
150
cacheKeyProvider.
CreateStorageKey
(context));
162
cacheKeyProvider.
CreateStorageKey
(context));
175
cacheKeyProvider.
CreateStorageKey
(context));
188
cacheKeyProvider.
CreateStorageKey
(context));
201
cacheKeyProvider.
CreateStorageKey
(context));
214
cacheKeyProvider.
CreateStorageKey
(context));
229
cacheKeyProvider.
CreateStorageKey
(context));
244
cacheKeyProvider.
CreateStorageKey
(context));
259
cacheKeyProvider.
CreateStorageKey
(context));
278
cacheKeyProvider.
CreateStorageKey
(context));
288
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
302
cacheKeyProvider.
CreateStorageKey
(context);
313
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
327
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
341
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
354
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
367
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
380
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
394
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
408
var cacheKey = cacheKeyProvider.
CreateStorageKey
(context);
424
cacheKeyProvider.
CreateStorageKey
(context));