コード例 #1
0
 protected void Application_Start()
 {
     AutofacContainer.ConfigureContainer();
     AutoMapperConfig.Initialize();
     AreaRegistration.RegisterAllAreas();
     RouteConfig.RegisterRoutes(RouteTable.Routes);
 }
コード例 #2
0
        protected void Application_Start()
        {
            AutofacContainer.ConfigureContainer();

            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }