2 writes to PolicyName
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheAttributeTests.cs (1)
152[OutputCache(PolicyName = "MyPolicy")]
OutputCachingSample (1)
Startup.cs (1)
30app.MapGet("/attribute", [OutputCache(PolicyName = "NoCache")] (context) => Gravatar.WriteGravatar(context));
2 references to PolicyName
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheAttribute.cs (2)
76if (PolicyName != null) 80builder.AddPolicy(new NamedPolicy(PolicyName));