protected void Application_Start() { ServiceConfig.RegisterServices(); AreaRegistration.RegisterAllAreas(); GlobalConfiguration.Configure(WebApiConfig.Register); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); // --- Use implemented languages CultureHelper.SetImplementedCultures(ImplementedCultures.GetCultureCodes()); // --- Start background tasks BackgroundTaskConfig.StartBackgroundProcessing(); }
protected void Application_Stop() { // --- Stop background tasks BackgroundTaskConfig.StopBackgroundProcessing(); }