Exemplo n.º 1
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();
        }