protected void Application_Start() { GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalConfiguration.Configuration.Filters); DataConfig.Start(GlobalSettings.DefaultConnectionString, false); MappingConfig.CreateMaps(); LoggingConfig.Initialize(); }
protected void Application_Start() { AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); DataConfig.Start(GlobalSettings.DefaultConnectionString); MappingConfig.CreateMaps(); LoggingConfig.Initialize(); }