The Global type exposes the following members.

Constructors

  NameDescription
Global
Initializes a new instance of the Global class.

Methods

  NameDescription
AddOnAcquireRequestStateAsyncOverloaded.
AddOnAuthenticateRequestAsyncOverloaded.
AddOnAuthorizeRequestAsyncOverloaded.
AddOnBeginRequestAsyncOverloaded.
AddOnEndRequestAsyncOverloaded.
AddOnLogRequestAsyncOverloaded.
AddOnMapRequestHandlerAsyncOverloaded.
AddOnPostAcquireRequestStateAsyncOverloaded.
AddOnPostAuthenticateRequestAsyncOverloaded.
AddOnPostAuthorizeRequestAsyncOverloaded.
AddOnPostLogRequestAsyncOverloaded.
AddOnPostMapRequestHandlerAsyncOverloaded.
AddOnPostReleaseRequestStateAsyncOverloaded.
AddOnPostRequestHandlerExecuteAsyncOverloaded.
AddOnPostResolveRequestCacheAsyncOverloaded.
AddOnPostUpdateRequestCacheAsyncOverloaded.
AddOnPreRequestHandlerExecuteAsyncOverloaded.
AddOnReleaseRequestStateAsyncOverloaded.
AddOnResolveRequestCacheAsyncOverloaded.
AddOnUpdateRequestCacheAsyncOverloaded.
CompleteRequest
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.)
Dispose
Disposes the HttpApplication instance.
(Inherited from HttpApplication.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDefaultDocuments
Gets a list of default documents. Override if you need to change which documents are actually tried.
(Inherited from SiteBase.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetVaryByCustomString
Provides an application-wide implementation of the VaryByCustom property.
(Overrides HttpApplication..::.GetVaryByCustomString(HttpContext, String).)
Global_PreRequestHandlerExecute
EPiServer support for restricting access to the UI folder and for precompiling .aspx files.
Init
This Init method is called AFTER Application_Start and AFTER the Init methot on HttpModules Executes custom initialization code after all event handler modules have been added.
(Overrides HttpApplication..::.Init()()().)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnValidateRequestAccess
Raises the [E:ValidateRequestAccess] event.
(Inherited from SiteBase.)
SchemeHostPortMatch
Checks if the scheme, host and port matches between two URI:s.
(Inherited from SiteBase.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Application
Gets the current state of an application.
(Inherited from HttpApplication.)
BaseDirectory
The physical root directory where the site is installed, e.g. "D:/INetpub/WWWRoot/Example/", when using Internet Information Services (IIS) folder.
Context
Gets HTTP-specific information about the current request.
(Inherited from HttpApplication.)
EPDataFactory Obsolete.
Global instance of data factory
EPLang Obsolete.
Global instance of language information
Events
Gets the list of event handler delegates that process all application events.
(Inherited from HttpApplication.)
InstanceName
IIS Metabase key path for the application, e.g. "_LM_W3SVC_1_ROOT_Example".
IsDefaultDocumentsEnabled
Gets or sets a value indicating whether this instance has default documents enabled.
(Inherited from SiteBase.)
IsUnitTest
Gets a value indicating whether EPiServer is running under mstest.
Modules
Gets the collection of modules for the current application.
(Inherited from HttpApplication.)
Request
Gets the intrinsic request object for the current request.
(Inherited from HttpApplication.)
Response
Gets the intrinsic response object for the current request.
(Inherited from HttpApplication.)
Server
Gets the intrinsic server object for the current request.
(Inherited from HttpApplication.)
Session
Gets the intrinsic session object that provides access to session data.
(Inherited from HttpApplication.)
Site
Gets or sets a site interface for an IComponent implementation.
(Inherited from HttpApplication.)
UrlRewriteProvider
Gets or sets the URL rewrite provider.
User
Gets the intrinsic user object for the current request.
(Inherited from HttpApplication.)

Events

  NameDescription
AcquireRequestState
Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.
(Inherited from HttpApplication.)
AuthenticateRequest
Occurs when a security module has established the identity of the user.
(Inherited from HttpApplication.)
AuthorizeRequest
Occurs when a security module has verified user authorization.
(Inherited from HttpApplication.)
BeginRequest
Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
(Inherited from HttpApplication.)
Disposed
Occurs when the application is disposed.
(Inherited from HttpApplication.)
EndRequest
Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
(Inherited from HttpApplication.)
Error
Occurs when an unhandled exception is thrown.
(Inherited from HttpApplication.)
LogRequest
Occurs just before ASP.NET performs any logging for the current request.
(Inherited from HttpApplication.)
MapRequestHandler
Occurs when the handler is selected to respond to the request.
(Inherited from HttpApplication.)
PostAcquireRequestState
Occurs when the request state (for example, session state) that is associated with the current request has been obtained.
(Inherited from HttpApplication.)
PostAuthenticateRequest
Occurs when a security module has established the identity of the user.
(Inherited from HttpApplication.)
PostAuthorizeRequest
Occurs when the user for the current request has been authorized.
(Inherited from HttpApplication.)
PostLogRequest
Occurs when ASP.NET has completed processing all the event handlers for the LogRequest event.
(Inherited from HttpApplication.)
PostMapRequestHandler
Occurs when ASP.NET has mapped the current request to the appropriate event handler.
(Inherited from HttpApplication.)
PostReleaseRequestState
Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored.
(Inherited from HttpApplication.)
PostRequestHandlerExecute
Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution.
(Inherited from HttpApplication.)
PostResolveRequestCache
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.)
PostUpdateRequestCache
Occurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache.
(Inherited from HttpApplication.)
PreRequestHandlerExecute
Occurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service).
(Inherited from HttpApplication.)
PreSendRequestContent
Occurs just before ASP.NET sends content to the client.
(Inherited from HttpApplication.)
PreSendRequestHeaders
Occurs just before ASP.NET sends HTTP headers to the client.
(Inherited from HttpApplication.)
ReleaseRequestState
Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data.
(Inherited from HttpApplication.)
ResolveRequestCache
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.)
UpdateRequestCache
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.)

See Also