protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); DbSettingProviderManager.StartNewSession() .UseDefaultConnectionStringProvider() .UseDefaultDbSettingProvider(Server.MapPath("~/App_Data"), ignoreRedundantParameters: false, enableWatching: true) .Run(); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AutoMapperConfiguration.Configure(); DbSettingProviderManager .StartNewSession() .UseDefaultConnectionStringProvider() .UseDefaultDbSettingProvider(Server.MapPath("~/App_Data"), enableWatching: true) .Run(); }