protected void Application_Start() { DependencyResolver.SetResolver(DependencyResolverConfig.GetConfiguredDependencyResolver()); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); PerformanceCountersConfig.ConfigureCounters(); }
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."); }