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