Ejemplo n.º 1
0
 protected void Application_Start()
 {
     AutofacApiConfig.Initialize(GlobalConfiguration.Configuration);
     DevExtremeBundleConfig.RegisterBundles(BundleTable.Bundles);
     AreaRegistration.RegisterAllAreas();
     GlobalConfiguration.Configure(WebApiConfig.Register);
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
 }
Ejemplo n.º 2
0
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();

            AutofacApiConfig.RegisterAutofac();

            GlobalConfiguration.Configure(WebApiConfig.Register);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);

            MyViewEngine.RegisterView(ViewEngines.Engines);
        }