I see in tons of examples on the web using the new HttpClient object (as part of the new Web API) that there should be HttpContent.ReadAsAsync<T> method. However, MSDN doesn’t mention this method, nor does IntelliSense find it.
Where did it go, and how do I work around it?
It looks like it is an extension method (in System.Net.Http.Formatting):
HttpContentExtensions Class
Update:
According to the System.Net.Http.Formatting NuGet package page, the
System.Net.Http.Formattingpackage is now legacy and can instead be found in theMicrosoft.AspNet.WebApi.Clientpackage available on NuGet here.