AspNetCore.Http.Extensions 1.0.1

Install-Package AspNetCore.Http.Extensions -Version 1.0.1
dotnet add package AspNetCore.Http.Extensions --version 1.0.1
<PackageReference Include="AspNetCore.Http.Extensions" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNetCore.Http.Extensions --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AspNetCore.Http.Extensions, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AspNetCore.Http.Extensions as a Cake Addin
#addin nuget:?package=AspNetCore.Http.Extensions&version=1.0.1

// Install AspNetCore.Http.Extensions as a Cake Tool
#tool nuget:?package=AspNetCore.Http.Extensions&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.



About ASP.NET Core HttpClient Extensions

Adds extension methods that allow you pass strongly typed objects as parameters to the HttpClient instance.


To make use of this library, add it to your project from Nuget using any of the following methods.

PM> Install-Package AspNet.Http.Extensions


dotnet add package AspNet.Http.Extensions


paket add AspNet.Http.Extensions

Add the appropriate namespace to your class

using AspNet.Http.Extensions;

Create an instance of HttpClient

var client = new HttpClient();

Create an instance of your payload class

var payload = new Foo { Name = "Bar" };

Make your HTTP request

var response = client.PostAsJsonAsync('url', payload);

Other methods

the library also provides two other extension methods; PutAsJsonAsync and ReadAsJsonAsync.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on AspNetCore.Http.Extensions:

Repository Stars
Open source .NET Core Bitcoin based blockchain node in C#
Version Downloads Last updated
1.0.1 434,352 8/15/2018
1.0.0 12,305 12/16/2017

Add support for lower net standar versions