11 writes to HttpContext
Microsoft.AspNetCore.Diagnostics (3)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
228HttpContext = httpContext,
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
206HttpContext = context,
StatusCodePage\StatusCodePagesOptions.cs (1)
31!await problemDetailsService.TryWriteAsync(new() { HttpContext = context.HttpContext, ProblemDetails = { Status = statusCode } }))
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
1436HttpContext = httpContext,
Microsoft.AspNetCore.Http.Results (2)
ProblemHttpResult.cs (1)
66if (problemDetailsService is null || !await problemDetailsService.TryWriteAsync(new() { HttpContext = httpContext, ProblemDetails = ProblemDetails }))
ValidationProblem.cs (1)
63if (problemDetailsService is null || !await problemDetailsService.TryWriteAsync(new() { HttpContext = httpContext, ProblemDetails = ProblemDetails }))
Microsoft.AspNetCore.Identity (1)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (1)
1442HttpContext = httpContext,
Microsoft.AspNetCore.Mvc.Core (3)
Formatters\TextOutputFormatter.cs (1)
137HttpContext = context.HttpContext,
Infrastructure\DefaultProblemDetailsFactory.cs (1)
111_configure?.Invoke(new() { HttpContext = httpContext!, ProblemDetails = problemDetails });
Infrastructure\ObjectResultExecutor.cs (1)
109HttpContext = context.HttpContext,
Microsoft.AspNetCore.Routing (1)
ValidationEndpointFilterFactory.cs (1)
110HttpContext = context.HttpContext,
10 references to HttpContext
Microsoft.AspNetCore.Http.Abstractions (2)
ProblemDetails\IProblemDetailsService.cs (1)
42return context.HttpContext.Response.HasStarted;
ProblemDetails\ProblemDetailsContext.cs (1)
16/// The <see cref="HttpContext"/> associated with the current request being processed by the filter.
Microsoft.AspNetCore.Http.Extensions (3)
DefaultProblemDetailsWriter.cs (2)
28var httpContext = context.HttpContext; 55var httpContext = context.HttpContext;
ProblemDetailsService.cs (1)
30ArgumentNullException.ThrowIfNull(context.HttpContext);
Microsoft.AspNetCore.Mvc.Core (5)
Infrastructure\DefaultApiProblemDetailsWriter.cs (5)
38context.HttpContext.GetEndpoint()?.Metadata.GetMetadata<ControllerAttribute>(); 46context.HttpContext.GetEndpoint()?.Metadata.GetMetadata<IApiBehaviorMetadata>(); 57context.HttpContext, 58context.ProblemDetails.Status ?? context.HttpContext.Response.StatusCode, 73context.HttpContext,