I my ASP.NET MVC 4 Project, my Global.asax.cs page shows the error on
Global.asax.cs
WebApiConfig.Register(GlobalConfiguration.Configuration);
Make sure you have assembly System.Web.Http.WebHost.dll referenced. This is where GlobalConfiguration is.
System.Web.Http.WebHost.dll