Click or drag to resize

MvcApplication Class

Application start event
Inheritance Hierarchy

Namespace:  SOWIWeb.Administrator
Assembly:  SOWIWeb.Administrator (in SOWIWeb.Administrator.dll) Version: 19.1.21.1 (19.1.21.658)
Syntax
public class MvcApplication : HttpApplication

The MvcApplication type exposes the following members.

Constructors
  NameDescription
Public methodMvcApplication
Initializes a new instance of the MvcApplication class
Top
Properties
  NameDescription
Public propertyApplication
Gets the current state of an application.
(Inherited from HttpApplication.)
Public propertyContext
Gets HTTP-specific information about the current request.
(Inherited from HttpApplication.)
Protected propertyEvents
Gets the list of event handler delegates that process all application events.
(Inherited from HttpApplication.)
Public propertyModules
Gets the collection of modules for the current application.
(Inherited from HttpApplication.)
Public propertyRequest
Gets the intrinsic request object for the current request.
(Inherited from HttpApplication.)
Public propertyResponse
Gets the intrinsic response object for the current request.
(Inherited from HttpApplication.)
Public propertyServer
Gets the intrinsic server object for the current request.
(Inherited from HttpApplication.)
Public propertySession
Gets the intrinsic session object that provides access to session data.
(Inherited from HttpApplication.)
Public propertySite
Gets or sets a site interface for an IComponent implementation.
(Inherited from HttpApplication.)
Public propertyUser
Gets the intrinsic user object for the current request.
(Inherited from HttpApplication.)
Top
Methods
  NameDescription
Public methodAddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnBeginRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnEndRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnLogRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)
Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostAuthorizeRequest to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodCompleteRequest
Causes ASP.NET to bypass all events and filtering in the HTTP pipeline chain of execution and directly execute the EndRequest event.
(Inherited from HttpApplication.)
Public methodDispose
Disposes the HttpApplication instance.
(Inherited from HttpApplication.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOutputCacheProviderName
Gets the name of the default output-cache provider that is configured for a Web site.
(Inherited from HttpApplication.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVaryByCustomString
Provides an application-wide implementation of the VaryByCustom property.
(Inherited from HttpApplication.)
Public methodInit
Executes custom initialization code after all event handler modules have been added.
(Inherited from HttpApplication.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
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 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
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIHttpAsyncHandlerBeginProcessRequest
Initiates an asynchronous call to the HTTP event handler.
(Inherited from HttpApplication.)
Explicit interface implementationPrivate methodIHttpAsyncHandlerEndProcessRequest
Provides an asynchronous process End method when the process finishes.
(Inherited from HttpApplication.)
Explicit interface implementationPrivate propertyIHttpHandlerIsReusable
Gets a Boolean value indicating whether another request can use the IHttpHandler object.
(Inherited from HttpApplication.)
Explicit interface implementationPrivate methodIHttpHandlerProcessRequest
Enables processing of HTTP Web requests by a custom HTTP handler that implements the IHttpHandler interface.
(Inherited from HttpApplication.)
Top
See Also