Where is HttpContent.ReadAsAsync?

后端 未结 6 1137

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

6条回答
  •  野性不改
    2020-11-29 17:58

    Just right click in your project go Manage NuGet Packages search for Microsoft.AspNet.WebApi.Client install it and you will have access to the extension method.

提交回复
热议问题