Last change
on this file since 12487 was
12435,
checked in by dglaser, 10 years ago
|
#2394: Improved PluginManager and updated hive status monitor.
|
File size:
763 bytes
|
Line | |
---|
1 | using System.Web.Http;
|
---|
2 | using System.Web.Mvc;
|
---|
3 | using System.Web.Optimization;
|
---|
4 | using System.Web.Routing;
|
---|
5 | using HeuristicLab.Services.WebApp.Configs;
|
---|
6 |
|
---|
7 | namespace 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.