2 implementations of CreateStorageVaryByKey
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingKeyProvider.cs (1)
75public string CreateStorageVaryByKey(ResponseCachingContext context)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
TestUtils.cs (1)
361public string CreateStorageVaryByKey(ResponseCachingContext context)
11 references to CreateStorageVaryByKey
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
293context.StorageVaryKey = _keyProvider.CreateStorageVaryByKey(context);
Microsoft.AspNetCore.ResponseCaching.Tests (10)
ResponseCachingKeyProviderTests.cs (10)
62Assert.Throws<InvalidOperationException>(() => cacheKeyProvider.CreateStorageVaryByKey(context)); 75Assert.Equal($"{context.CachedVaryByRules.VaryByKeyPrefix}", cacheKeyProvider.CreateStorageVaryByKey(context)); 91cacheKeyProvider.CreateStorageVaryByKey(context)); 107cacheKeyProvider.CreateStorageVaryByKey(context)); 123cacheKeyProvider.CreateStorageVaryByKey(context)); 139cacheKeyProvider.CreateStorageVaryByKey(context)); 157cacheKeyProvider.CreateStorageVaryByKey(context)); 175cacheKeyProvider.CreateStorageVaryByKey(context)); 193cacheKeyProvider.CreateStorageVaryByKey(context)); 212cacheKeyProvider.CreateStorageVaryByKey(context));