MvcApplication Events

Blog

MvcApplication Events

[This is preliminary documentation and is subject to change.]

The MvcApplication type exposes the following members.

Events
  NameDescription
Public eventAcquireRequestState
Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.
(Inherited from HttpApplication.)
Public eventAuthenticateRequest
Occurs when a security module has established the identity of the user.
(Inherited from HttpApplication.)
Public eventAuthorizeRequest
Occurs when a security module has verified user authorization.
(Inherited from HttpApplication.)
Public eventBeginRequest
Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
(Inherited from HttpApplication.)
Public eventDisposed
Occurs when the application is disposed.
(Inherited from HttpApplication.)
Public eventEndRequest
Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
(Inherited from HttpApplication.)
Public eventError
Occurs when an unhandled exception is thrown.
(Inherited from HttpApplication.)
Public eventLogRequest
Occurs just before ASP.NET performs any logging for the current request.
(Inherited from HttpApplication.)
Public eventMapRequestHandler
Occurs when the handler is selected to respond to the request.
(Inherited from HttpApplication.)
Public eventPostAcquireRequestState
Occurs when the request state (for example, session state) that is associated with the current request has been obtained.
(Inherited from HttpApplication.)
Public eventPostAuthenticateRequest
Occurs when a security module has established the identity of the user.
(Inherited from HttpApplication.)
Public eventPostAuthorizeRequest
Occurs when the user for the current request has been authorized.
(Inherited from HttpApplication.)
Public eventPostLogRequest
Occurs when ASP.NET has completed processing all the event handlers for the LogRequest event.
(Inherited from HttpApplication.)
Public eventPostMapRequestHandler
Occurs when ASP.NET has mapped the current request to the appropriate event handler.
(Inherited from HttpApplication.)
Public eventPostReleaseRequestState
Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored.
(Inherited from HttpApplication.)
Public eventPostRequestHandlerExecute
Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution.
(Inherited from HttpApplication.)
Public eventPostResolveRequestCache
Occurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache.
(Inherited from HttpApplication.)
Public eventPostUpdateRequestCache
Occurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache.
(Inherited from HttpApplication.)
Public eventPreRequestHandlerExecute
Occurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service).
(Inherited from HttpApplication.)
Public eventPreSendRequestContent
Occurs just before ASP.NET sends content to the client.
(Inherited from HttpApplication.)
Public eventPreSendRequestHeaders
Occurs just before ASP.NET sends HTTP headers to the client.
(Inherited from HttpApplication.)
Public eventReleaseRequestState
Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data.
(Inherited from HttpApplication.)
Public eventRequestCompleted
Occurs when the managed objects that are associated with the request have been released.
(Inherited from HttpApplication.)
Public eventResolveRequestCache
Occurs when ASP.NET finishes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the event handler (for example, a page or an XML Web service).
(Inherited from HttpApplication.)
Public eventUpdateRequestCache
Occurs when ASP.NET finishes executing an event handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache.
(Inherited from HttpApplication.)
Top
See Also