Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.WebApp/3.3/Global.asax.cs @ 12435

Last change on this file since 12435 was 12435, checked in by dglaser, 9 years ago

#2394: Improved PluginManager and updated hive status monitor.

File size: 763 bytes
Line 
1using System.Web.Http;
2using System.Web.Mvc;
3using System.Web.Optimization;
4using System.Web.Routing;
5using HeuristicLab.Services.WebApp.Configs;
6
7namespace HeuristicLab.Services.WebApp {
8  public class MvcApplication : System.Web.HttpApplication {
9    protected void Application_Start() {
10      var pluginManager = PluginManager.Instance;
11      pluginManager.Configuration = GlobalConfiguration.Configuration;
12      pluginManager.DiscoverPlugins();
13      AreaRegistration.RegisterAllAreas();
14      GlobalConfiguration.Configure(WebApiConfig.Register);
15      FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters);
16      RouteConfig.RegisterRoutes(RouteTable.Routes);
17      BundleConfig.RegisterBundles(BundleTable.Bundles);
18    }
19  }
20}
Note: See TracBrowser for help on using the repository browser.