protected void Application_Start() { Log.Initialize(); AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); DependencyConfig.RegisterDependencies(); BundleConfig.RegisterBundles(BundleTable.Bundles); FeliceCore.Boot(); Database.MigrateToLastVersion(); }
protected void Application_Start() { Log.Initialize(); //// MVC Stuff AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); //// Registry dependencies DependencyConfig.RegisterDependencies(); //// Boot libraries //// Force validate nhibernate mappings before load the application FeliceCore.Boot(); new AutoMapperBoot().Execute(); Database.MigrateToLastVersion(); }