示例#1
0
        protected void Application_Start()
        {
            Log.Initialize();

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            DependencyConfig.RegisterDependencies();
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            FeliceCore.Boot();

            Database.MigrateToLastVersion();
        }
示例#2
0
        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();
        }