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 This package was built from the source code at https://github.com/aspnet/Extensions/tree/0de62ae930da31048ba7e54c8cd0c6c0bcbd9095
dotnet add package Microsoft.Extensions.Http --version 3.0.0-preview.19074.2
Install-Package Microsoft.Extensions.Http -Version 3.0.0-preview.19074.2
| 包名 | 版本要求 |
|---|---|
| Microsoft.Extensions.DependencyInjection.Abstractions | [3.0.0-preview.19074.2, ) |
| Microsoft.Extensions.Logging | [3.0.0-preview.19074.2, ) |
| Microsoft.Extensions.Options | [3.0.0-preview.19074.2, ) |
| 作者 | Microsoft |
|---|---|
| 发布时间 | 2019-01-29 16:15:51 |
| 项目主页 | https://asp.net/ |
| 许可证 | https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt |