I my ASP.NET MVC 4 Project, my Global.asax.cs page shows the error on
Global.asax.cs
WebApiConfig.Register(GlobalConfiguration.Configuration);
With .NET Framework 4.5.1, GlobalConfiguration is found in System.Web.Http:
System.Web.Http
PM> Install-Package Microsoft.AspNet.WebApi.WebHost