コード例 #1
0
 protected void Application_Start()
 {
     DependencyResolver.SetResolver(DependencyResolverConfig.GetConfiguredDependencyResolver());
     AreaRegistration.RegisterAllAreas();
     FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
     RouteConfig.RegisterRoutes(RouteTable.Routes);
     BundleConfig.RegisterBundles(BundleTable.Bundles);
     PerformanceCountersConfig.ConfigureCounters();
 }
コード例 #2
0
        protected void Application_Start()
        {
            DependencyResolverConfig.RegisterDependencyResolver();
            AreaRegistration.RegisterAllAreas();
            FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
            RouteConfig.RegisterRoutes(RouteTable.Routes);
            BundleConfig.RegisterBundles(BundleTable.Bundles);
            PerformanceCountersConfig.Configure();

            _logger.Info("Application started.");
        }