C# Class Profiles.Global

Inheritance: System.Web.HttpApplication
显示文件 Open project: ProfilesRNS/ProfilesRNS

Protected Methods

Method Description
Application_BeginRequest ( object sender, EventArgs e ) : void

Application_Error ( object sender, EventArgs e ) : void

Global Error Handler. When this event is triggered, the error is logged to the server event log and then loaded into the user Session and redirected to the error page for display to the user. Note: There is a profiles request/response debug tool that can be accessed in the browser if the Debug flag is set to true in the web.config file.

Application_Start ( object sender, EventArgs e ) : void

When a request is submitted to the ISAPI filter the following steps are executed in order to process a RESTful URL: 1. IIS will trigger the ProfilesRouteHandler that's defined in the Global.asax.cs file. 2. All parameters of the RESTful URL are then packed into the HttpContext.Current.Items hash table and the request is transferred to the Alias.aspx page.

Session_Start ( object sender, EventArgs e ) : void

Starts a Profiles instance of Profiles Session Management and Session State Information used for security/data filters, tracking, auditing.

Private Methods

Method Description
LoadModuleCatalogue ( ) : void

This method loads the module names and locations into RAM. This code is located in the Profiles.Framework.Utilities.ModuleCatalogueCache.cs file

RegisterRoutes ( RouteCollection routes ) : void

Method Details

Application_BeginRequest() protected method

protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object .Net context object
e System.EventArgs .Net Event Arguments
return void

Application_Error() protected method

Global Error Handler. When this event is triggered, the error is logged to the server event log and then loaded into the user Session and redirected to the error page for display to the user. Note: There is a profiles request/response debug tool that can be accessed in the browser if the Debug flag is set to true in the web.config file.
protected Application_Error ( object sender, EventArgs e ) : void
sender object .Net context object
e System.EventArgs .Net Event Arguments
return void

Application_Start() protected method

When a request is submitted to the ISAPI filter the following steps are executed in order to process a RESTful URL: 1. IIS will trigger the ProfilesRouteHandler that's defined in the Global.asax.cs file. 2. All parameters of the RESTful URL are then packed into the HttpContext.Current.Items hash table and the request is transferred to the Alias.aspx page.
protected Application_Start ( object sender, EventArgs e ) : void
sender object .Net context object
e System.EventArgs .Net Event Arguments
return void

Session_Start() protected method

Starts a Profiles instance of Profiles Session Management and Session State Information used for security/data filters, tracking, auditing.
protected Session_Start ( object sender, EventArgs e ) : void
sender object .Net context object
e System.EventArgs .Net Event Arguments
return void