protected void Application_Start(object sender, EventArgs e) { //// Not using MVC Areas right now. // AreaRegistration.RegisterAllAreas(); // standard MVC explicit initialization WebApiConfig.Register(GlobalConfiguration.Configuration); FilterConfig.RegisterGlobalFilters(GlobalFilters.Filters); RouteConfig.RegisterRoutes(RouteTable.Routes); BundleConfig.RegisterBundles(BundleTable.Bundles); AuthConfig.RegisterAuth(); // Base behavior from shared MyHerbalife3HttpApplication OnApplicationStart(sender, e); ControllerBuilder.Current.DefaultNamespaces.Add("MyHerbalife3.Ordering.Controllers"); // Ensure Ordering specific API are using real implementation (not stand-ins) TopSellerProductsController.Inject(new TopSellerSource()); RecentOrdersController.Inject(new RecentOrdersSource()); CartWidgetController.Inject(new CartWidgetSource()); VolumeController.Inject(new VolumeSource()); ContactsController.Inject(new ContactsSourceStandIn()); MyOrdersController.Inject(new MyOrdersSource()); }