protected void Application_Start() { AppID = Guid.NewGuid().ToString(); AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); OctGlobal.InitIOC(); //Bootstrapper.Initialise(); CreateMapper(); CreateSreachIndex(); }
protected void Application_Start() { var config = new HubConfiguration(); config.EnableCrossDomain = true; RouteTable.Routes.MapHubs(config); AreaRegistration.RegisterAllAreas(); WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); OctGlobal.InitIOC(); //Bootstrapper.Initialise(); }