protected void Application_Start() { AreaRegistration.RegisterAllAreas(); //WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); FluentMetadataConfiguration.Register(); _starter = new Starter<IZingHost>(HostInitialization, HostBeginRequest, HostEndRequest); _starter.OnApplicationStart(this); }
protected void Application_Start(object sender, EventArgs e) { RegisterRoutes(RouteTable.Routes); _starter = new Starter<IWebHost>(HostInitialization, HostBeginRequest, HostEndRequest); _starter.OnApplicationStart(this); }
protected void Application_Start() { RegisterRoutes(RouteTable.Routes); _starter = new Starter<IOrchardHost>(HostInitialization, HostBeginRequest, HostEndRequest); _starter.OnApplicationStart(this); }