12 overrides of HttpContext
Microsoft.AspNetCore.Http.Abstractions (11)
DefaultEndpointFilterInvocationContext.cs (1)
24public override HttpContext HttpContext { get; }
EndpointFilterInvocationContextOfT.Generated.cs (10)
40public override HttpContext HttpContext { get; } 167public override HttpContext HttpContext { get; } 301public override HttpContext HttpContext { get; } 442public override HttpContext HttpContext { get; } 590public override HttpContext HttpContext { get; } 745public override HttpContext HttpContext { get; } 907public override HttpContext HttpContext { get; } 1076public override HttpContext HttpContext { get; } 1252public override HttpContext HttpContext { get; } 1435public override HttpContext HttpContext { get; }
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ControllerEndpointFilterInvocationContext.cs (1)
40public override HttpContext HttpContext => ActionContext.HttpContext;
12 references to HttpContext
Microsoft.AspNetCore.Http.Abstractions (2)
EndpointFilterInvocationContext.cs (2)
7/// Provides an abstraction for wrapping the <see cref="HttpContext"/> and arguments 13/// The <see cref="HttpContext"/> associated with the current request being processed by the filter.
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
115private static readonly MemberExpression FilterContextHttpContextExpr = Expression.Property(FilterContextExpr, typeof(EndpointFilterInvocationContext).GetProperty(nameof(EndpointFilterInvocationContext.HttpContext))!);
Microsoft.AspNetCore.Routing (3)
Builder\EndpointFilterExtensions.cs (1)
53var filter = (IEndpointFilter)filterFactory.Invoke(context.HttpContext.RequestServices, invokeArguments);
RequestDelegateFilterPipelineBuilder.cs (2)
34if (context.HttpContext.Response.StatusCode < 400) 36await requestDelegate(context.HttpContext);
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (2)
1084context.HttpContext.Items["loggerErrorIsEnabled"] = _logger.IsEnabled(LogLevel.Error); 1085context.HttpContext.Items["parentName"] = _routeHandlerContext.MethodInfo.DeclaringType?.Name;
MinimalSample (1)
Program.cs (1)
32var endpoint = invocationContext.HttpContext.GetEndpoint();
Mvc.RoutingWebSite (3)
StartupForEndpointFilters.cs (3)
32ic.HttpContext.Items[nameof(IEndpointFilter)] = true; 33ic.HttpContext.Items[nameof(EndpointFilterFactoryContext.MethodInfo.Name)] = context.MethodInfo.Name; 48ic.HttpContext.Items[nameof(EndpointFilterInvocationContext.Arguments)] = firstArg;