C# 클래스 SharpArchTemplate.Web.Mvc.MvcApplication

Represents the MVC Application
For instructions on enabling IIS6 or IIS7 classic mode, visit http://go.microsoft.com/?LinkId=9394801
상속: System.Web.HttpApplication
파일 보기 프로젝트 열기: sharparchitecture/Sharp-Architecture-Template

공개 메소드들

메소드 설명
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.

RegisterGlobalFilters ( GlobalFilterCollection filters ) : void

보호된 메소드들

메소드 설명
Application_BeginRequest ( object sender, EventArgs e ) : void
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.

비공개 메소드들

메소드 설명
InitialiseNHibernateSessions ( ) : void

메소드 상세

Application_BeginRequest() 보호된 메소드

protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 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

InitializeServiceLocator() 보호된 메소드

Instantiate the container and add all Controllers that derive from WindsorController to the container. Also associate the Controller with the WindsorContainer ControllerFactory.
protected InitializeServiceLocator ( ) : void
리턴 void

RegisterGlobalFilters() 공개 정적인 메소드

public static RegisterGlobalFilters ( GlobalFilterCollection filters ) : void
filters GlobalFilterCollection
리턴 void