Beispiel #1
0
        protected void Application_Start()
        {
            // Custom
            DatabaseConfig.Initialize();
            AutoMapperConfig.RegisterMappings(Assembly.Load(Assemblies.WebApi));

            // WebApi
            GlobalConfiguration.Configure(WebApiConfig.Register);


            // MVC
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
        }
 protected void Application_Start()
 {
     AutomapperConfig.Initialize();
     DatabaseConfig.Initialize();
     GlobalConfiguration.Configure(WebApiConfig.Register);
 }