Microsoft.Extensions.Http
2.1.1
The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way.
Commonly used types:
System.Net.Http.IHttpClientFactory
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Install-Package Microsoft.Extensions.Http -Version 2.1.1
dotnet add package Microsoft.Extensions.Http --version 2.1.1
<PackageReference Include="Microsoft.Extensions.Http" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.Http --version 2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Extensions.Http, 2.1.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 Microsoft.Extensions.Http as a Cake Addin
#addin nuget:?package=Microsoft.Extensions.Http&version=2.1.1
// Install Microsoft.Extensions.Http as a Cake Tool
#tool nuget:?package=Microsoft.Extensions.Http&version=2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dependencies
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.1.1)
- Microsoft.Extensions.Logging (>= 2.1.1)
- Microsoft.Extensions.Options (>= 2.1.1)
Used By
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Microsoft.Extensions.Http:
| Package | Downloads |
|---|---|
|
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core.
This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
|
|
|
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application.
This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
|