20 implementations of ServeResponseAsync
Microsoft.AspNetCore.OutputCaching (18)
Policies\CompositePolicy.cs (1)
41async ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\DefaultPolicy.cs (1)
42ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\EmptyPolicy.cs (1)
30ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\EnableCachePolicy.cs (1)
27ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\ExpirationPolicy.cs (1)
37ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\LockingPolicy.cs (1)
43ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\NamedPolicy.cs (1)
28ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\NoLookupPolicy.cs (1)
18ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\NoStorePolicy.cs (1)
18ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\PredicatePolicy.cs (1)
40ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\SetCacheKeyPrefixPolicy.cs (1)
36ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\TagsPolicy.cs (1)
40ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\TypedPolicy.cs (1)
50ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByHeaderPolicy.cs (1)
60ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByHostPolicy.cs (1)
39ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByQueryPolicy.cs (1)
68ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByRouteValuePolicy.cs (1)
52ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByValuePolicy.cs (1)
40ValueTask IOutputCachePolicy.ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCacheMiddlewareTests.cs (1)
1005public ValueTask ServeResponseAsync(OutputCacheContext context, CancellationToken cancellation)
TestUtils.cs (1)
399public ValueTask ServeResponseAsync(OutputCacheContext context, CancellationToken cancellationToken)
17 references to ServeResponseAsync
Microsoft.AspNetCore.OutputCaching (5)
OutputCacheMiddleware.cs (1)
170await policy.ServeResponseAsync(context, httpContext.RequestAborted);
Policies\CompositePolicy.cs (1)
45await policy.ServeResponseAsync(context, cancellationToken);
Policies\NamedPolicy.cs (1)
37return policy.ServeResponseAsync(context, cancellationToken);
Policies\PredicatePolicy.cs (1)
42return ExecuteAwaited(static (policy, context, cancellationToken) => policy.ServeResponseAsync(context, cancellationToken), _policy, context, cancellationToken);
Policies\TypedPolicy.cs (1)
52return CreatePolicy(context)?.ServeResponseAsync(context, cancellationToken) ?? ValueTask.CompletedTask;
Microsoft.AspNetCore.OutputCaching.Tests (12)
OutputCachePolicyProviderTests.cs (12)
133await policy.ServeResponseAsync(context, default); 151await policy.ServeResponseAsync(context, default); 169await policy.ServeResponseAsync(context, default); 187await policy.ServeResponseAsync(context, default); 202await policy.ServeResponseAsync(context, default); 215await policy.ServeResponseAsync(context, default); 233await policy.ServeResponseAsync(context, default); 249await policy.ServeResponseAsync(context, default); 325await policy.ServeResponseAsync(context, default); 343await policy.ServeResponseAsync(context, default); 366await policy.ServeResponseAsync(context, default); 389await policy.ServeResponseAsync(context, default);