Issue in Global.asax.cs page in MVC4

Make sure you have assembly System.Web.Http.WebHost.dll referenced. This is where GlobalConfiguration is.


With .NET Framework 4.5.1, GlobalConfiguration is found in System.Web.Http:

PM> Install-Package Microsoft.AspNet.WebApi.WebHost