Exemple #1
0
 protected void Application_Start()
 {
     GlobalConfiguration.Configure(WebApiConfig.Register);
     FilterConfig.RegisterGlobalFilters(GlobalConfiguration.Configuration.Filters);
     DataConfig.Start(GlobalSettings.DefaultConnectionString, false);
     MappingConfig.CreateMaps();
     LoggingConfig.Initialize();
 }
Exemple #2
0
 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();
 }