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