1 write to Context
Microsoft.AspNetCore.StaticFiles (1)
StaticFileResponseContext.cs (1)
21Context = context ?? throw new ArgumentNullException(nameof(context));
9 references to Context
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
396if (context.Context.Response.Headers.CacheControl.Count == 0) 398context.Context.Response.Headers.CacheControl = "no-cache";
blazor-devserver (1)
Server\Startup.cs (1)
75ApplyCrossOriginPolicyHeaders(fileContext.Context);
Microsoft.AspNetCore.Components.Endpoints (1)
src\Components\Shared\src\CacheHeaderSettings.cs (1)
19var headers = ctx.Context.Response.GetTypedHeaders();
Microsoft.AspNetCore.Components.Server (1)
src\Components\Shared\src\CacheHeaderSettings.cs (1)
19var headers = ctx.Context.Response.GetTypedHeaders();
Microsoft.AspNetCore.Components.WebAssembly.Server (4)
ComponentsWebAssemblyApplicationBuilderExtensions.cs (3)
107fileContext.Context.Response.Headers.Append(HeaderNames.CacheControl, "no-cache"); 109var requestPath = fileContext.Context.Request.Path; 123fileContext.Context.Response.ContentType = originalContentType;
src\Components\Shared\src\CacheHeaderSettings.cs (1)
19var headers = ctx.Context.Response.GetTypedHeaders();