Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
Application_BeginRequest ( object sender, |
||
Application_Error ( object sender, |
||
Application_Start ( ) : void | ||
InitializeServiceLocator ( ) : void |
Instantiate the container and add all Controllers that derive from WindsorController to the container. Also associate the Controller with the WindsorContainer ControllerFactory.
|
Method | Description | |
---|---|---|
InitialiseNHibernateSessions ( ) : void |
protected Application_BeginRequest ( object sender, |
||
sender | object | |
e | ||
return | void |
protected Application_Error ( object sender, |
||
sender | object | |
e | ||
return | void |
protected InitializeServiceLocator ( ) : void | ||
return | void |