I was looking for the PostAsJsonAsync()
extension method in ASP.NET Core. Based on this article, it's available in the Microsoft.AspNet.WebApi.Client
assembly.
I had thought Microsoft had changed all of the assembly names from Microsoft.AspNet
to Microsoft.AspNetCore
to be more specific to .NET Core, however, and yet I cannot find an Microsoft.AspNetCore.WebApi.Client
assembly.
Where is the PostAsJsonAsync()
extension method in ASP.NET Core?
It comes as part of the library Microsoft.AspNet.WebApi.Client
https://www.nuget.org/packages/Microsoft.AspNet.WebApi.Client/