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