Пример #1
0
        protected void Application_Start()
        {
            ContainerFactory.BindProviders();
            Resolver.Bind <IConfigurationReader>().To <FileConfigurationReader>();
            AreaRegistration.RegisterAllAreas();

            WebApiConfig.Register(GlobalConfiguration.Configuration);
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            AuthConfig.RegisterAuth();
        }