void Application_Start(object sender, EventArgs e) { // Code that runs on application startup GlobalConfiguration.Configure(config => InitImageViewer.Init(config, RouteTable.Routes)); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); }
protected void Application_Start() { // Code that runs on application startup GlobalConfiguration.Configure(config => InitImageViewer.Init(config, RouteTable.Routes)); AreaRegistration.RegisterAllAreas(); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); }