83 references to Context
System.ServiceModel.Activation (10)
System\ServiceModel\Activation\HostedHttpContext.cs (4)
90this.result.Application.Context.AcceptWebSocketRequest(PostAcceptWebSocket, new AspNetWebSocketOptions() { SubProtocol = protocol }); 329foreach (string webHeaderKey in this.hostedHttpContext.result.Application.Context.Request.Headers.Keys) 331message.AddHeader(webHeaderKey, this.hostedHttpContext.result.Application.Context.Request.Headers[webHeaderKey]); 857IServiceProvider provider = (IServiceProvider)result.Application.Context;
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (1)
107this.isWebSocketRequest = HttpRuntime.UsingIntegratedPipeline && AspNetEnvironment.Current.IsWebSocketModuleLoaded && this.context.Context.IsWebSocketRequest;
System\ServiceModel\Activation\HostedHttpTransportManager.cs (2)
84IServiceProvider provider = (IServiceProvider)result.Application.Context; 112IServiceProvider provider = (IServiceProvider)result.Application.Context;
System\ServiceModel\Activation\HttpModule.cs (1)
79application.Context.RemapHandler(new HttpHandler());
System\ServiceModel\Activation\ServiceHttpModule.cs (2)
100application.Context, application.Request.RequestType, 102application.Context.RemapHandler(cbaHandler);
System.Web (65)
HttpApplication.cs (31)
523module.ReleaseSessionState(Context); 530return module.ReleaseSessionStateAsync(Context); 590isReentry = Context.NotificationContext.IsReEntry; 591eventCount = CurrentModuleContainer.GetEventCount(Context.CurrentNotification, Context.IsPostNotification) - 1; 603var nc = Context.NotificationContext; 609if (object.ReferenceEquals(nc, Context.NotificationContext)) { 3078EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_ENTER, _application.Context.WorkerRequest, targetTypeStr); 3081if (EtwTrace.IsTraceEnabled(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, _application.Context.WorkerRequest, targetTypeStr); 3133HttpContext context = _application.Context; 3198EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_ENTER, _application.Context.WorkerRequest, _targetTypeStr); 3201HttpContext context = _application.Context; 3232if (EtwTrace.IsTraceEnabled(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, _application.Context.WorkerRequest, _targetTypeStr); 3254_application.Context.ValidatePath(); 3275_application.Context.Request.ValidateInputIfRequiredByConfig(); 3299HttpContext context = _application.Context; 3383HttpContext context = _application.Context; 3433HttpContext context = _application.Context; 3526HttpContext context = _application.Context; 3633get { return (_application.Context.Handler is IHttpAsyncHandler) ? false : true; } 3646HttpContext context = _application.Context; 3693_application.Context.Response.FilterOutput(); 3697if (HttpRuntime.UseIntegratedPipeline && (_application.Context.CurrentNotification == RequestNotification.UpdateRequestCache)) { 3698_application.Context.DisableNotifications(RequestNotification.LogRequest, 0 /*postNotifications*/); 3729if (_application.Context.IsSendResponseHeaders && _isHeaders 3738EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_ENTER, _application.Context.WorkerRequest, targetTypeStr); 3741if (EtwTrace.IsTraceEnabled(EtwTraceLevel.Verbose, EtwTraceFlags.Module)) EtwTrace.Trace(EtwTraceType.ETW_TYPE_PIPELINE_LEAVE, _application.Context.WorkerRequest, targetTypeStr); 3764HttpContext context = _application.Context; 3792HttpContext context = _application.Context; 3875HttpContext context = app.Context; 4071HttpContext context = _application.Context;
ImplicitAsyncPreloadModule.cs (1)
42HttpContext context = _app.Context;
OutputCacheModule.cs (2)
563context = app.Context; 1027context = app.Context;
Profile\ProfileModule.cs (2)
124HttpContext context = ((HttpApplication)source).Context; 136HttpContext context = app.Context;
Routing\UrlRoutingModule.cs (3)
34if (application.Context.Items[_contextKey] != null) { 37application.Context.Items[_contextKey] = _contextKey; 47HttpContextBase context = new HttpContextWrapper(app.Context);
Security\AnonymousIdentificationModule.cs (1)
149context = app.Context;
Security\BackStopAuthenticationModule.cs (1)
102context = app.Context;
Security\FileAuthorizationModule.cs (1)
131context = app.Context;
Security\FormsAuthenticationModule.cs (2)
194context = app.Context; 240context = app.Context;
Security\PassportAuthenticationModule.cs (2)
129context = app.Context; 168context = app.Context;
Security\RoleManagerModule.cs (3)
84((HttpApplication)source).Context.DisableNotifications(RequestNotification.EndRequest, 0); 90HttpContext context = app.Context; 160context = app.Context;
Security\UrlAuthorizationModule.cs (1)
131context = app.Context;
Security\WindowsAuthenticationModule.cs (1)
120HttpContext context = app.Context;;
State\SessionStateModule.cs (3)
615_rqContext = ((HttpApplication)source).Context; 1271context = app.Context; 1433context = app.Context;
UI\LegacyPageAsyncTask.cs (2)
164using (app.Context.SyncContext.AcquireThreadLock()) { 203using (app.Context.SyncContext.AcquireThreadLock()) {
UI\LegacyPageAsyncTaskManager.cs (5)
164_app.Context.SyncContext.DisassociateFromCurrentThread(); 165_app.Context.SyncContext.AssociateWithCurrentThread(); 210using (_app.Context.SyncContext.AcquireThreadLock()) { 295_app.Context.SyncContext.DisassociateFromCurrentThread(); 303_app.Context.SyncContext.AssociateWithCurrentThread();
UrlMappingsModule.cs (1)
30UrlMappingRewritePath(app.Context);
Util\AppVerifier.cs (3)
199HttpContext context = httpApplication.Context; 278HttpContext assignedContextUponCallingBeginHandler = httpApplication.Context; // used to determine whether the underlying request disappeared 339assert(assignedContextUponCallingBeginHandler == httpApplication.Context, AppVerifierErrorCode.AsyncCallbackCalledAfterHttpApplicationReassigned);
System.Web.Extensions (7)
Handlers\ScriptModule.cs (7)
71if (app != null && ShouldSkipAuthorization(app.Context)) { 72app.Context.SetSkipAuthorizationNoDemand(true, false); 82HttpContext context = app.Context; 108if (app.Context.Items[_contextKey] != null) { 111app.Context.Items[_contextKey] = _contextKey; 166HttpRequest request = app.Context.Request; 168if (app.Context.Handler is Page && RestHandlerFactory.IsRestMethodCall(request)) {
System.Web.Mobile (1)
Mobile\ErrorHandlerModule.cs (1)
100context = application.Context;