C# Класс WhoCanHelpMe.Web.MvcApplication

Represents the MVC Application
For instructions on enabling IIS6 or IIS7 classic mode, visit http://go.microsoft.com/?LinkId=9394801
Наследование: System.Web.HttpApplication
Показать файл Открыть проект

Открытые методы

Метод Описание
Init ( ) : void

Due to issues on IIS7, the NHibernate initialization must occur in Init(). But Init() may be invoked more than once; accordingly, we introduce a thread-safe mechanism to ensure it's only initialized once. See http://msdn.microsoft.com/en-us/magazine/cc188793.aspx for explanation details.

Защищенные методы

Метод Описание
Application_BeginRequest ( object sender, EventArgs e ) : void
Application_Error ( ) : void
Application_Start ( ) : void

Приватные методы

Метод Описание
DisplayErrorPage ( string action ) : void

Returns a response by executing the Error controller with the specified action.

InitialiseNHibernateSessions ( ) : void
InitializeServiceLocator ( ) : void

Описание методов

Application_BeginRequest() защищенный Метод

protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Application_Error() защищенный Метод

protected Application_Error ( ) : void
Результат void

Application_Start() защищенный Метод

protected Application_Start ( ) : void
Результат void

Init() публичный Метод

Due to issues on IIS7, the NHibernate initialization must occur in Init(). But Init() may be invoked more than once; accordingly, we introduce a thread-safe mechanism to ensure it's only initialized once. See http://msdn.microsoft.com/en-us/magazine/cc188793.aspx for explanation details.
public Init ( ) : void
Результат void