2 implementations of CreateBaseKey
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingKeyProvider.cs (1)
37public string CreateBaseKey(ResponseCachingContext context)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
TestUtils.cs (1)
356public string CreateBaseKey(ResponseCachingContext context)
5 references to CreateBaseKey
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
206context.BaseKey = _keyProvider.CreateBaseKey(context); 266context.BaseKey = _keyProvider.CreateBaseKey(context);
Microsoft.AspNetCore.ResponseCaching.Tests (3)
ResponseCachingKeyProviderTests.cs (3)
25Assert.Equal($"HEAD{KeyDelimiter}HTTPS{KeyDelimiter}EXAMPLE.COM:80/PATHBASE/PATH/SUBPATH", cacheKeyProvider.CreateBaseKey(context)); 39Assert.Equal($"{HttpMethods.Get}{KeyDelimiter}{KeyDelimiter}/PATH", cacheKeyProvider.CreateBaseKey(context)); 53Assert.Equal($"{HttpMethods.Get}{KeyDelimiter}{KeyDelimiter}/Path", cacheKeyProvider.CreateBaseKey(context));