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)
25
var responseCache = new
ResponseCacheAttribute
()
45
var responseCache = new
ResponseCacheAttribute
()
65
new
ResponseCacheAttribute
()
73
new
ResponseCacheAttribute
()
83
new
ResponseCacheAttribute
()
106
new
ResponseCacheAttribute
()
125
new
ResponseCacheAttribute
()
143
new
ResponseCacheAttribute
()
185
var responseCache = new
ResponseCacheAttribute
()
204
var responseCache = new
ResponseCacheAttribute
()
237
new
ResponseCacheAttribute
() { Duration = 100, Location = ResponseCacheLocation.Any },
241
new
ResponseCacheAttribute
() { Duration = 100, Location = ResponseCacheLocation.Client },
245
new
ResponseCacheAttribute
() { NoStore = true, Duration = 0 },
249
new
ResponseCacheAttribute
()
286
var responseCacheAttribute = new
ResponseCacheAttribute
() { Duration = 40 };
305
var 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)
25
var
responseCache = new ResponseCacheAttribute()
45
var
responseCache = new ResponseCacheAttribute()
158
ResponseCacheAttribute
responseCache,
185
var
responseCache = new ResponseCacheAttribute()
204
var
responseCache = new ResponseCacheAttribute()
230
public static TheoryData<
ResponseCacheAttribute
, string> CacheControlData
234
return new TheoryData<
ResponseCacheAttribute
, string>
264
ResponseCacheAttribute
responseCacheAttribute,
286
var
responseCacheAttribute = new ResponseCacheAttribute() { Duration = 40 };
305
var
responseCacheAttribute = new ResponseCacheAttribute()
Microsoft.AspNetCore.Mvc.RazorPages (2)
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (2)
32
var responseCacheAttributes = pageModel.HandlerTypeAttributes.OfType<
ResponseCacheAttribute
>();
33
foreach (
var
attribute in responseCacheAttributes)