Is Microsoft.AspNet.WebApi.Client supported in .NET Core or not?
17
I'm currently trying to do some JSON formatting using the HttpClient in .NET Core and MediaTypeFormatters. Especially the function "ReadAsAsync(..., MediaTypeFormatter, ...)" (https://msdn.microsoft.com/de-de/library/system.net.http.httpcontentextensions.readasasync(v=vs.118).aspx) which was available in .NET Framework in the HttpContent-Class would be very helpful. As far as I understood, it can be found in the NuGet package Microsoft.AspNet.WebApi.Client but I cannot download it because it is not supported in .NET Core. Though I have read, that it should be:
- Where is HttpContent.ReadAsAsync?- https://www.techrepository.in/consuming-rest-api-methods-in-net-core-mvc-application I know that it is possible to do the formatting using Newtonsoft and so on. But does someone know, if that package will be available in .NET Core some day again? I could not find any information really...