259 references to HttpApplication
System.ServiceModel.Activation (15)
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (1)
130
public static void TrySetWebSocketVersion(
HttpApplication
application)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (6)
65
HttpApplication
context;
83
public HostedHttpRequestAsyncResult(
HttpApplication
context, bool flowContext, bool ensureWFService, AsyncCallback callback, object state) :
91
public HostedHttpRequestAsyncResult(
HttpApplication
context, string aspNetRouteServiceVirtualPath, bool flowContext, bool ensureWFService, AsyncCallback callback, object state) :
312
public static void ExecuteSynchronous(
HttpApplication
context, bool flowContext, bool ensureWFService)
321
public static void ExecuteSynchronous(
HttpApplication
context, string routeServiceVirtualPath, bool flowContext, bool ensureWFService)
544
public
HttpApplication
Application
System\ServiceModel\Activation\HttpModule.cs (3)
24
public void Init(
HttpApplication
context)
56
HttpApplication
application = (
HttpApplication
)sender;
System\ServiceModel\Activation\ServiceHttpModule.cs (3)
34
public void Init(
HttpApplication
context)
76
HttpApplication
application = (
HttpApplication
) sender;
System\ServiceModel\ServiceHostingEnvironment.cs (2)
416
internal static bool IsConfigurationBasedService(
HttpApplication
application)
431
internal static bool IsConfigurationBasedService(
HttpApplication
application, out string matchedVirtualPath)
System.Web (231)
Abstractions\HttpContextBase.cs (1)
57
public virtual
HttpApplication
ApplicationInstance {
Abstractions\HttpContextWrapper.cs (1)
62
public override
HttpApplication
ApplicationInstance {
Cache\OutputCache.cs (1)
164
HttpApplication
app = context.ApplicationInstance;
Compilation\BuildManager.cs (1)
1984
return PageParser.DefaultApplicationBaseType ?? typeof(
HttpApplication
);
Configuration\GlobalizationSection.cs (2)
246
if (StringUtil.EqualsIgnoreCase(configCulture,
HttpApplication
.AutoCulture)) {
249
else if (StringUtil.StringStartsWithIgnoreCase(configCulture,
HttpApplication
.AutoCulture)) {
Hosting\IPipelineRuntime.cs (4)
315
HttpApplication
app = null;
368
HttpApplication
.IMPLICIT_HANDLER,
372
HttpApplication
.MANAGED_PRECONDITION /*precondition*/,
377
throw new COMException( SR.GetString(SR.Failed_Pipeline_Subscription,
HttpApplication
.IMPLICIT_HANDLER),
HttpApplication.cs (56)
2981
internal void CreateExecutionSteps(
HttpApplication
app, ArrayList steps) {
2998
bool isPost,
HttpApplication
app) {
3057
private
HttpApplication
_application;
3060
internal SyncEventExecutionStep(
HttpApplication
app, EventHandler handler) {
3096
private
HttpApplication
_application;
3105
internal AsyncEventExecutionStep(
HttpApplication
app, BeginEventHandler beginHandler, EndEventHandler endHandler, Object state)
3110
internal AsyncEventExecutionStep(
HttpApplication
app, BeginEventHandler beginHandler, EndEventHandler endHandler, Object state, bool useIntegratedPipeline) {
3247
private
HttpApplication
_application;
3249
internal ValidatePathExecutionStep(
HttpApplication
app) {
3268
private
HttpApplication
_application;
3270
internal ValidateRequestExecutionStep(
HttpApplication
app) {
3292
private
HttpApplication
_application;
3294
internal MaterializeHandlerExecutionStep(
HttpApplication
app) {
3376
private
HttpApplication
_application;
3378
internal MapHandlerExecutionStep(
HttpApplication
app) {
3411
private
HttpApplication
_application;
3417
internal CallHandlerExecutionStep(
HttpApplication
app) {
3639
private readonly
HttpApplication
_application;
3641
internal TransitionToWebSocketsExecutionStep(
HttpApplication
app) {
3685
private
HttpApplication
_application;
3687
internal CallFilterExecutionStep(
HttpApplication
app) {
3714
private
HttpApplication
_application;
3718
internal SendResponseExecutionStep(
HttpApplication
app, EventHandler handler, bool isHeaders) {
3756
private
HttpApplication
_application;
3759
internal UrlMappingsExecutionStep(
HttpApplication
app) {
3778
protected
HttpApplication
_application;
3781
internal StepManager(
HttpApplication
application) {
3812
internal ApplicationStepManager(
HttpApplication
app): base(app) {
3817
HttpApplication
app = _application;
3829
app.CreateEventExecutionSteps(
HttpApplication
.EventBeginRequest, steps);
3830
app.CreateEventExecutionSteps(
HttpApplication
.EventAuthenticateRequest, steps);
3831
app.CreateEventExecutionSteps(
HttpApplication
.EventDefaultAuthentication, steps);
3832
app.CreateEventExecutionSteps(
HttpApplication
.EventPostAuthenticateRequest, steps);
3833
app.CreateEventExecutionSteps(
HttpApplication
.EventAuthorizeRequest, steps);
3834
app.CreateEventExecutionSteps(
HttpApplication
.EventPostAuthorizeRequest, steps);
3835
app.CreateEventExecutionSteps(
HttpApplication
.EventResolveRequestCache, steps);
3836
app.CreateEventExecutionSteps(
HttpApplication
.EventPostResolveRequestCache, steps);
3838
app.CreateEventExecutionSteps(
HttpApplication
.EventPostMapRequestHandler, steps);
3839
app.CreateEventExecutionSteps(
HttpApplication
.EventAcquireRequestState, steps);
3840
app.CreateEventExecutionSteps(
HttpApplication
.EventPostAcquireRequestState, steps);
3841
app.CreateEventExecutionSteps(
HttpApplication
.EventPreRequestHandlerExecute, steps);
3844
app.CreateEventExecutionSteps(
HttpApplication
.EventPostRequestHandlerExecute, steps);
3845
app.CreateEventExecutionSteps(
HttpApplication
.EventReleaseRequestState, steps);
3846
app.CreateEventExecutionSteps(
HttpApplication
.EventPostReleaseRequestState, steps);
3848
app.CreateEventExecutionSteps(
HttpApplication
.EventUpdateRequestCache, steps);
3849
app.CreateEventExecutionSteps(
HttpApplication
.EventPostUpdateRequestCache, steps);
3851
app.CreateEventExecutionSteps(
HttpApplication
.EventEndRequest, steps);
3873
HttpApplication
app = _application;
4000
internal PipelineStepManager(
HttpApplication
app): base(app) {
4006
HttpApplication
app = _application;
4015
HttpApplication
.IMPLICIT_HANDLER,
4021
HttpApplication
.IMPLICIT_HANDLER,
4029
HttpApplication
.IMPLICIT_HANDLER,
4037
HttpApplication
.IMPLICIT_HANDLER,
4046
HttpApplication
.IMPLICIT_FILTER_MODULE,
4052
HttpApplication
.IMPLICIT_FILTER_MODULE,
HttpApplicationFactory.cs (31)
67
private ConcurrentBag<
HttpApplication
> _freeList = new ConcurrentBag<
HttpApplication
>();
71
private ConcurrentBag<
HttpApplication
> _specialFreeList = new ConcurrentBag<
HttpApplication
>();
138
internal static void EnsureAppStartCalledForIntegratedMode(HttpContext context,
HttpApplication
app) {
312
if (baseType != null && baseType != typeof(
HttpApplication
)) {
353
private
HttpApplication
GetNormalApplicationInstance(HttpContext context) {
354
HttpApplication
app = null;
358
app = (
HttpApplication
)HttpRuntime.CreateNonPublicInstance(_theApplicationType);
368
app.ApplicationInstanceConsumersCounter.Task.ContinueWith((_, o) => RecycleApplicationInstance((
HttpApplication
)o), app, TaskContinuationOptions.ExecuteSynchronously);
373
private void RecycleNormalApplicationInstance(
HttpApplication
app) {
388
internal static
HttpApplication
GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) {
393
internal static void RecyclePipelineApplicationInstance(
HttpApplication
app) {
397
private
HttpApplication
GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) {
398
HttpApplication
app = null;
407
app = (
HttpApplication
)HttpRuntime.CreateNonPublicInstance(_theApplicationType);
418
private
HttpApplication
GetSpecialApplicationInstance() {
422
private void RecycleSpecialApplicationInstance(
HttpApplication
app) {
435
HttpApplication
app = GetSpecialApplicationInstance();
451
HttpApplication
app = GetSpecialApplicationInstance();
470
private
HttpApplication
_app;
475
internal AspCompatSessionOnEndHelper(
HttpApplication
app, HttpSessionState session, Object eventSource, EventArgs eventArgs) {
482
internal
HttpApplication
Application { get { return _app; } }
502
HttpApplication
app = GetSpecialApplicationInstance();
533
HttpApplication
app = GetSpecialApplicationInstance();
562
private static void DisposeHttpApplicationInstances(ConcurrentBag<
HttpApplication
> freeList, int numOfInstancesToDispose) {
567
List<
HttpApplication
> instances = new List<
HttpApplication
>();
568
HttpApplication
appToDispose = null;
578
foreach (
HttpApplication
instance in instances) {
611
internal static void RecycleApplicationInstance(
HttpApplication
app) {
HttpContext.cs (6)
65
private
HttpApplication
_appInstance;
684
else if (service == typeof(
HttpApplication
))
748
public
HttpApplication
ApplicationInstance {
1861
e.ExceptionState is
HttpApplication
.CancelModuleException &&
1862
((
HttpApplication
.CancelModuleException)e.ExceptionState).Timeout) {
2262
if(StringUtil.EqualsIgnoreCase(configString,
HttpApplication
.AutoCulture)) {
HttpRequest.cs (2)
1002
HttpApplication
app = _context.ApplicationInstance;
1056
HttpApplication
app = _context.ApplicationInstance;
HttpResponse.cs (1)
3115
Thread.CurrentThread.Abort(new
HttpApplication
.CancelModuleException(false));
HttpRuntime.cs (4)
1481
HttpApplication
app = handler as
HttpApplication
;
1531
HttpApplication
app = context.ApplicationInstance;
1586
HttpApplication
app = context.ApplicationInstance;
httpserverutility.cs (5)
43
private
HttpApplication
_application;
51
internal HttpServerUtility(
HttpApplication
application) {
433
HttpApplication
app = _context.ApplicationInstance;
831
HttpApplication
app = HttpApplicationFactory.GetApplicationInstance(context) as
HttpApplication
;
IHttpModule.cs (1)
29
void Init(
HttpApplication
context);
ImplicitAsyncPreloadModule.cs (2)
23
HttpApplication
_app;
41
_app = (
HttpApplication
)sender;
LegacyAspNetSynchronizationContext.cs (2)
21
private
HttpApplication
_application;
31
internal LegacyAspNetSynchronizationContext(
HttpApplication
app) {
Management\WebEvents.cs (2)
598
Debug.Trace("WebEventRaiseDetails", "Calling ProcessEvent under " +
HttpApplication
.GetCurrentWindowsIdentityWithAssert().Name);
2145
_accountName =
HttpApplication
.GetCurrentWindowsIdentityWithAssert().Name;
OutputCacheModule.cs (5)
496
void IHttpModule.Init(
HttpApplication
app) {
531
HttpApplication
app;
562
app = (
HttpApplication
)source;
1008
HttpApplication
app;
1026
app = (
HttpApplication
)source;
PipelineModuleStepContainer.cs (18)
51
List<
HttpApplication
.IExecutionStep>[] _moduleSteps;
52
List<
HttpApplication
.IExecutionStep>[] _modulePostSteps;
57
private List<
HttpApplication
.IExecutionStep> GetStepArray(RequestNotification notification, bool isPostEvent) {
65
List<
HttpApplication
.IExecutionStep>[] steps = _moduleSteps;
79
List<
HttpApplication
.IExecutionStep> stepArray = steps[index];
88
List<
HttpApplication
.IExecutionStep> stepArray = GetStepArray(notification, isPostEvent);
96
internal
HttpApplication
.IExecutionStep GetNextEvent(RequestNotification notification, bool isPostEvent, int eventIndex) {
97
List<
HttpApplication
.IExecutionStep> stepArray = GetStepArray(notification, isPostEvent);
109
List<
HttpApplication
.IExecutionStep>[] steps = _moduleSteps;
120
List<
HttpApplication
.IExecutionStep> stepArray = steps[index];
129
HttpApplication
.SyncEventExecutionStep syncStep;
134
syncStep = stepArray[i] as
HttpApplication
.SyncEventExecutionStep;
149
internal void AddEvent(RequestNotification notification, bool isPostEvent,
HttpApplication
.IExecutionStep step) {
158
List<
HttpApplication
.IExecutionStep>[] steps = null;
162
_modulePostSteps = new List<
HttpApplication
.IExecutionStep>[ 32 ];
168
_moduleSteps = new List<
HttpApplication
.IExecutionStep>[ 32 ];
180
List<
HttpApplication
.IExecutionStep> stepArray = steps[index];
183
stepArray = new List<
HttpApplication
.IExecutionStep>();
Profile\ProfileModule.cs (4)
91
public void Init(
HttpApplication
app)
124
HttpContext context = ((
HttpApplication
)source).Context;
135
HttpApplication
app = (
HttpApplication
)source;
RequestTimeoutManager.cs (1)
177
thread.Abort(new
HttpApplication
.CancelModuleException(true));
Routing\UrlRoutingModule.cs (4)
30
protected virtual void Init(
HttpApplication
application) {
46
HttpApplication
app = (
HttpApplication
)sender;
113
void IHttpModule.Init(
HttpApplication
application) {
Security\AnonymousIdentificationModule.cs (3)
114
public void Init(
HttpApplication
app) {
139
HttpApplication
app;
148
app = (
HttpApplication
)source;
Security\BackStopAuthenticationModule.cs (3)
65
public void Init(
HttpApplication
app) {
98
HttpApplication
app;
101
app = (
HttpApplication
)source;
Security\FileAuthorizationModule.cs (3)
113
public void Init(
HttpApplication
app) {
127
HttpApplication
app;
130
app = (
HttpApplication
)source;
Security\FormsAuthenticationModule.cs (5)
67
public void Init(
HttpApplication
app) {
190
HttpApplication
app;
193
app = (
HttpApplication
)source;
236
HttpApplication
app;
239
app = (
HttpApplication
)source;
Security\PassportAuthenticationModule.cs (5)
76
public void Init(
HttpApplication
app) {
125
HttpApplication
app;
128
app = (
HttpApplication
)source;
165
HttpApplication
app;
167
app = (
HttpApplication
)source;
Security\RoleManagerModule.cs (7)
64
public void Init(
HttpApplication
app) {
84
((
HttpApplication
)source).Context.DisableNotifications(RequestNotification.EndRequest, 0);
89
HttpApplication
app = (
HttpApplication
)source;
142
HttpApplication
.SetCurrentPrincipalWithAssert(context.User);
156
HttpApplication
app;
159
app = (
HttpApplication
)source;
Security\UrlAuthorizationModule.cs (4)
49
public void Init(
HttpApplication
app) {
91
List<ModuleConfigurationInfo> modules =
HttpApplication
.IntegratedModuleList;
127
HttpApplication
app;
130
app = (
HttpApplication
)source;
Security\WindowsAuthenticationModule.cs (3)
74
public void Init(
HttpApplication
app) {
119
HttpApplication
app = (
HttpApplication
)source;
State\SessionStateModule.cs (7)
334
void InitModuleFromConfig(
HttpApplication
app, SessionStateSection config) {
404
public void Init(
HttpApplication
app) {
615
_rqContext = ((
HttpApplication
)source).Context;
1255
HttpApplication
app;
1270
app = (
HttpApplication
)source;
1426
HttpApplication
app;
1432
app = (
HttpApplication
)source;
ThreadContext.cs (3)
91
HttpApplication
.SetCurrentPrincipalWithAssert(HttpContext.User);
155
HttpApplication
.SetCurrentPrincipalWithAssert(_originalThreadPrincipal);
204
HttpApplication
.SetCurrentPrincipalWithAssert(HttpContext.User);
UI\ApplicationFileParser.cs (1)
30
internal override Type DefaultBaseType { get { return PageParser.DefaultApplicationBaseType ?? typeof(System.Web.
HttpApplication
); } }
UI\LegacyPageAsyncTask.cs (3)
159
HttpApplication
app = _taskManager.Application;
198
HttpApplication
.CancelModuleException exceptionState = e.ExceptionState as
HttpApplication
.CancelModuleException;
UI\LegacyPageAsyncTaskManager.cs (2)
20
private
HttpApplication
_app;
39
internal
HttpApplication
Application {
UI\Page.cs (10)
3850
if(StringUtil.EqualsIgnoreCase(value,
HttpApplication
.AutoCulture)) {
3856
else if(StringUtil.StringStartsWithIgnoreCase(value,
HttpApplication
.AutoCulture)) {
3920
if(StringUtil.EqualsIgnoreCase(value,
HttpApplication
.AutoCulture)) {
3926
else if(StringUtil.StringStartsWithIgnoreCase(value,
HttpApplication
.AutoCulture)) {
4889
HttpApplication
.CancelModuleException cancelException = e.ExceptionState as
HttpApplication
.CancelModuleException;
5210
HttpApplication
.CancelModuleException cancelException = e.ExceptionState as
HttpApplication
.CancelModuleException;
5753
private
HttpApplication
_app;
5827
((ThreadAbortException)e).ExceptionState is
HttpApplication
.CancelModuleException) {
UI\PageParser.cs (3)
372
if(StringUtil.EqualsIgnoreCase(value,
HttpApplication
.AutoCulture)) {
381
if(StringUtil.StringStartsWithIgnoreCase(value,
HttpApplication
.AutoCulture)) {
719
if (value != null && !typeof(
HttpApplication
).IsAssignableFrom(value)) {
UI\Util.cs (1)
1399
return
HttpApplication
.GetCurrentWindowsIdentityWithAssert().Name;
UrlMappingsModule.cs (3)
16
public void Init(
HttpApplication
application) {
29
HttpApplication
app = (
HttpApplication
) source;
Util\AppVerifier.cs (3)
144
public static Func<T, AsyncCallback, object, IAsyncResult> WrapBeginMethod<T>(
HttpApplication
httpApplication, Func<T, AsyncCallback, object, IAsyncResult> originalDelegate) {
161
public static BeginEventHandler WrapBeginMethod(
HttpApplication
httpApplication, BeginEventHandler originalDelegate) {
184
internal static Func<AsyncCallback, object, IAsyncResult> WrapBeginMethodImpl(
HttpApplication
httpApplication, Func<AsyncCallback, object, IAsyncResult> beginMethod, Delegate originalDelegate, Action<AppVerifierException> errorHandler, CallStackCollectionBitMasks callStackMask) {
Util\AspCompat.cs (8)
139
internal class AspCompatApplicationStep :
HttpApplication
.IExecutionStep, IManagedContext {
143
private
HttpApplication
_app; // app instance to run the code under
163
private AspCompatApplicationStep(HttpContext context,
HttpApplication
app, String sessionId, EventHandler codeEventHandler, Object codeEventSource, EventArgs codeEventArgs) {
171
private void Init(HttpContext context,
HttpApplication
app) {
195
void
HttpApplication
.IExecutionStep.Execute() {
206
bool
HttpApplication
.IExecutionStep.CompletedSynchronously {
210
bool
HttpApplication
.IExecutionStep.IsCancellable {
372
internal static void RaiseAspCompatEvent(HttpContext context,
HttpApplication
app, String sessionId, EventHandler eventHandler, Object source, EventArgs eventArgs) {
System.Web.Extensions (8)
Handlers\ScriptModule.cs (8)
70
HttpApplication
app = (
HttpApplication
)sender;
81
HttpApplication
app = (
HttpApplication
)sender;
104
protected virtual void Init(
HttpApplication
app) {
165
HttpApplication
app = (
HttpApplication
)sender;
189
void IHttpModule.Init(
HttpApplication
context) {
System.Web.Mobile (3)
Mobile\ErrorHandlerModule.cs (3)
34
void IHttpModule.Init(
HttpApplication
application)
94
HttpApplication
application = (
HttpApplication
)source;
System.Workflow.Runtime (2)
Hosting\WorkflowWebHostingModule.cs (2)
37
HttpApplication
currentApplication;
48
void IHttpModule.Init(
HttpApplication
application)