6 references to NoStoreString
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheTests.cs (1)
674var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.CacheControl = CacheControlHeaderValue.NoStoreString);
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingPolicyProvider.cs (2)
63return !HeaderUtilities.ContainsCacheDirective(context.HttpContext.Request.Headers.CacheControl, CacheControlHeaderValue.NoStoreString); 78if (HeaderUtilities.ContainsCacheDirective(responseCacheControlHeader, CacheControlHeaderValue.NoStoreString))
Microsoft.AspNetCore.ResponseCaching.Tests (1)
ResponseCachingTests.cs (1)
619var builders = TestUtils.CreateBuildersWithResponseCaching(contextAction: context => context.Response.Headers.CacheControl = CacheControlHeaderValue.NoStoreString);
Microsoft.Net.Http.Headers (2)
CacheControlHeaderValue.cs (2)
333AppendValueIfRequired(sb, _noStore, NoStoreString); 607else if (StringSegment.Equals(NoStoreString, name, StringComparison.OrdinalIgnoreCase))