4 references to Tag
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheAttribute.cs (1)
109
builder.
Tag
(Tags);
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCachePolicyBuilderTests.cs (1)
242
var policy = builder.
Tag
("tag1", "tag2").Build();
OutputCachingSample (2)
Startup.cs (2)
32
var blog = app.MapGroup("blog").CacheOutput(x => x.
Tag
("blog"));
34
blog.MapGet("/post/{id}", Gravatar.WriteGravatar).CacheOutput(x => x.
Tag
("blog", "byid")); // Calling CacheOutput() here overwrites the group's policy