protected void Application_Start() { RegisterRoutes(RouteTable.Routes); _container = OrchardStarter.CreateHostContainer(MvcSingletons); _host = _container.Resolve<IOrchardHost>(); _host.Initialize(); // initialize shells to speed up the first dynamic query _host.BeginRequest(); _host.EndRequest(); }
protected void Application_Start() { RegisterRoutes(RouteTable.Routes); _container = OrchardStarter.CreateHostContainer(MvcSingletons); _host = _container.Resolve <IOrchardHost>(); _host.Initialize(); // initialize shells to speed up the first dynamic query _host.BeginRequest(); _host.EndRequest(); }
private static void HostEndRequest(HttpApplication application, IOrchardHost host) { host.EndRequest(); }
protected void Application_EndRequest() { _host.EndRequest(); }