protected void Application_Start() { //need to bootstrap the application var container = new Container(); new WebSampleBootstrapper(container).Run(); AreaRegistration.RegisterAllAreas(); GlobalFilters.Filters.Add(new HandleErrorAttribute()); } }