Converted to .NET 4.5 and ASP.NET Web API 2