コード例 #1
0
        protected void Application_Start()
        {
            DataConfig.ConfigureDataStore();

            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            ViewEngineConfig.RegisterViewEngines(ViewEngines.Engines);
            AutoMapperConfig.RegisterMappings(
                Assembly.Load(AssemblyConstants.WebModels),
                Assembly.Load(AssemblyConstants.WebInfrastructure));

            MvcHandler.DisableMvcResponseHeader = true;
        }