37 references to CreateBuildersWithResponseCaching
Microsoft.AspNetCore.ResponseCaching.Tests (37)
ResponseCachingTests.cs (37)
18
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
42
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
64
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
86
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
108
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
132
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
165
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
198
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
222
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
246
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
269
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.Vary = HeaderNames.From);
292
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.Vary = HeaderNames.From);
316
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "query" });
338
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "QueryA", "queryb" });
360
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "*" });
382
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "QueryB", "QueryA" });
404
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "*" });
426
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "query" });
448
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "QueryA", "QueryB" });
470
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Features.Get<IResponseCachingFeature>().VaryByQueryKeys = new[] { "*" });
492
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
518
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
545
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.SetCookie = "cookieName=cookieValue");
567
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
593
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
619
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.CacheControl = CacheControlHeaderValue.NoStoreString);
641
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context =>
671
var builders = TestUtils.
CreateBuildersWithResponseCaching
();
694
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context =>
724
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\""));
747
var builders = TestUtils.
CreateBuildersWithResponseCaching
(options: new ResponseCachingOptions()
772
var builders = TestUtils.
CreateBuildersWithResponseCaching
(options: new ResponseCachingOptions()
797
var builders = TestUtils.
CreateBuildersWithResponseCaching
(options: new ResponseCachingOptions()
822
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.Vary = HeaderNames.From);
848
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.Vary = context.Request.Headers.Pragma);
883
var builders = TestUtils.
CreateBuildersWithResponseCaching
(contextAction: context => context.Response.Headers.Vary = context.Request.Headers.Pragma);
918
var builders = TestUtils.
CreateBuildersWithResponseCaching
();