26 instantiations of ResponseCacheAttribute
BasicWebSite (1)
Controllers\AntiforgeryController.cs (1)
73[ResponseCache(Duration = 60)]
HostedBlazorWebassemblyApp.Server (1)
Pages\Error.cshtml.cs (1)
15[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
Identity.DefaultUI.WebSite (1)
Pages\Error.cshtml.cs (1)
10[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
Microsoft.AspNetCore.Identity.UI (2)
Areas\Identity\Pages\V4\Error.cshtml.cs (1)
16[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
Areas\Identity\Pages\V5\Error.cshtml.cs (1)
16[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
Microsoft.AspNetCore.Mvc.Core.Test (16)
ResponseCacheAttributeTest.cs (16)
25var responseCache = new ResponseCacheAttribute() 45var responseCache = new ResponseCacheAttribute() 65new ResponseCacheAttribute() 73new ResponseCacheAttribute() 83new ResponseCacheAttribute() 106new ResponseCacheAttribute() 125new ResponseCacheAttribute() 143new ResponseCacheAttribute() 185var responseCache = new ResponseCacheAttribute() 204var responseCache = new ResponseCacheAttribute() 237new ResponseCacheAttribute() { Duration = 100, Location = ResponseCacheLocation.Any }, 241new ResponseCacheAttribute() { Duration = 100, Location = ResponseCacheLocation.Client }, 245new ResponseCacheAttribute() { NoStore = true, Duration = 0 }, 249new ResponseCacheAttribute() 286var responseCacheAttribute = new ResponseCacheAttribute() { Duration = 40 }; 305var responseCacheAttribute = new ResponseCacheAttribute()
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\ResponseCacheFilterApplicationModelProviderTest.cs (2)
86[ResponseCache(Duration = 12, NoStore = true, VaryByHeader = "Abc")] 132[ResponseCache(CacheProfileName = "TestCacheProfile")]
MvcFormSample (1)
Controllers\HomeController.cs (1)
45[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
RazorPagesWebSite (1)
ModelWithResponseCache.cs (1)
9[ResponseCache(Duration = 10, Location = ResponseCacheLocation.Client)]
StaticFilesAuth (1)
Controllers\HomeController.cs (1)
21[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
12 references to ResponseCacheAttribute
Microsoft.AspNetCore.Mvc.Core.Test (10)
ResponseCacheAttributeTest.cs (10)
25var responseCache = new ResponseCacheAttribute() 45var responseCache = new ResponseCacheAttribute() 158ResponseCacheAttribute responseCache, 185var responseCache = new ResponseCacheAttribute() 204var responseCache = new ResponseCacheAttribute() 230public static TheoryData<ResponseCacheAttribute, string> CacheControlData 234return new TheoryData<ResponseCacheAttribute, string> 264ResponseCacheAttribute responseCacheAttribute, 286var responseCacheAttribute = new ResponseCacheAttribute() { Duration = 40 }; 305var responseCacheAttribute = new ResponseCacheAttribute()
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (2)
32var responseCacheAttributes = pageModel.HandlerTypeAttributes.OfType<ResponseCacheAttribute>(); 33foreach (var attribute in responseCacheAttributes)