9 writes to ApplicationInstance
System.Web (9)
Abstractions\HttpContextWrapper.cs (1)
67_context.ApplicationInstance = value;
HttpApplication.cs (6)
1469_context.ApplicationInstance = this; 1638_initContext.ApplicationInstance = this; 1712_initContext.ApplicationInstance = null; 1750_initContext.ApplicationInstance = this; 1794_initContext.ApplicationInstance = null; 2735_context.ApplicationInstance = this;
httpserverutility.cs (2)
832context.ApplicationInstance = app; 846context.ApplicationInstance = null;
48 references to ApplicationInstance
System.ServiceModel.Activation (5)
System\ServiceModel\Activation\AspNetRouteServiceHttpHandler.cs (2)
39HostedHttpRequestAsyncResult.ExecuteSynchronous(context.ApplicationInstance, this.serviceVirtualPath, true, false); 50return new HostedHttpRequestAsyncResult(context.ApplicationInstance, this.serviceVirtualPath, true, false, callback, extraData);
System\ServiceModel\Activation\HttpHandler.cs (1)
29HostedHttpRequestAsyncResult.ExecuteSynchronous(context.ApplicationInstance, true, false);
System\ServiceModel\Activation\ServiceHttpHandlerFactory.cs (2)
52HostedHttpRequestAsyncResult.ExecuteSynchronous(context.ApplicationInstance, true, false); 63return new HostedHttpRequestAsyncResult(context.ApplicationInstance, true, false, callback, extraData);
System.Web (43)
Abstractions\HttpContextWrapper.cs (1)
64return _context.ApplicationInstance;
Cache\OutputCache.cs (1)
164HttpApplication app = context.ApplicationInstance;
Handlers\TransferRequestHandler.cs (3)
40var releaseStateTask = context.ApplicationInstance.EnsureReleaseStateAsync(); 45context.ApplicationInstance.CompleteRequest(); 49return releaseStateTask.ContinueWith((_) => context.ApplicationInstance.CompleteRequest());
Hosting\IPipelineRuntime.cs (2)
572context.ApplicationInstance.AcquireNotifcationContextLock(ref locked); 602context.ApplicationInstance.ReleaseNotifcationContextLock();
HttpContext.cs (3)
685obj = ApplicationInstance; 2200return new LegacyAspNetSynchronizationContext(ApplicationInstance); 2203return new AspNetSynchronizationContext(ApplicationInstance);
HttpRequest.cs (2)
1002HttpApplication app = _context.ApplicationInstance; 1056HttpApplication app = _context.ApplicationInstance;
HttpResponse.cs (6)
507if (_context != null && _context.ApplicationInstance != null) { 508_context.ApplicationInstance.RaiseOnPreSendRequestHeaders(); 672if (_context != null && _context.ApplicationInstance != null) 673_context.ApplicationInstance.RaiseOnPreSendRequestContent(); 3097if (_context.ApplicationInstance != null) { 3098_context.ApplicationInstance.CompleteRequest();
HttpRuntime.cs (5)
1491if (context.ApplicationInstance != null) { 1493IAsyncResult ar = context.ApplicationInstance.BeginProcessRequestNotification(context, _requestNotificationCompletionCallback); 1531HttpApplication app = context.ApplicationInstance; 1586HttpApplication app = context.ApplicationInstance; 2066context.ApplicationInstance.EndProcessRequestNotification(ar);
httpserverutility.cs (5)
367handler = _context.ApplicationInstance.MapIntegratedHttpHandler( 376handler = _context.ApplicationInstance.MapHttpHandler( 433HttpApplication app = _context.ApplicationInstance; 798_context.ApplicationInstance.EnsureReleaseState(); 802_context.ApplicationInstance.CompleteRequest();
OutputCacheModule.cs (1)
244value = context.ApplicationInstance.GetVaryByCustomString(
Security\UrlAuthorizationModule.cs (1)
118context.ApplicationInstance.CompleteRequest();
State\SessionIDManager.cs (1)
377context.ApplicationInstance.CompleteRequest();
State\SessionStateModule.cs (2)
541_rqContext.ApplicationInstance, 1513OnReleaseState(context.ApplicationInstance, null);
UI\LegacyPageAsyncTaskManager.cs (1)
34_app = page.Context.ApplicationInstance;
UI\Page.cs (7)
4892_context.ApplicationInstance != null && // application must be non-null so we can complete the request 4894_context.ApplicationInstance.CompleteRequest(); 5213_context.ApplicationInstance != null && // application must be non-null so we can complete the request 5215_context.ApplicationInstance.CompleteRequest(); 5571if (!allowAsync && _context != null && _context.ApplicationInstance != null) { 5772_app = page.Context.ApplicationInstance; 6035await _asyncTaskManager.ExecuteTasksAsync(this, EventArgs.Empty, cancellationToken, _context.SyncContext, _context.ApplicationInstance);
UI\PartialCachingControl.cs (1)
538string customString = Context.ApplicationInstance.GetVaryByCustomString(
Util\AspCompat.cs (1)
160Init(context, context.ApplicationInstance);