DO NOT MERGE: Test https://review.docs.microsoft.com/ TOC (#12443)
Test https://review.docs.microsoft.com/ TOCpull/12453/head
parent
9540074b68
commit
2dae6df247
|
@ -14,7 +14,7 @@ By [Glenn Condron](https://github.com/glennc), [Ryan Nowak](https://github.com/r
|
|||
|
||||
An <xref:System.Net.Http.IHttpClientFactory> can be registered and used to configure and create <xref:System.Net.Http.HttpClient> instances in an app. It offers the following benefits:
|
||||
|
||||
* Provides a central location for naming and configuring logical `HttpClient` instances. For example, a *github* client can be registered and configured to access GitHub. A default client can be registered for other purposes.
|
||||
* Provides a central location for naming and configuring logical `HttpClient` instances. For example, a *github* client can be registered and configured to access [GitHub](https://github.com/). A default client can be registered for other purposes.
|
||||
* Codifies the concept of outgoing middleware via delegating handlers in `HttpClient` and provides extensions for Polly-based middleware to take advantage of that.
|
||||
* Manages the pooling and lifetime of underlying `HttpClientMessageHandler` instances to avoid common DNS problems that occur when manually managing `HttpClient` lifetimes.
|
||||
* Adds a configurable logging experience (via `ILogger`) for all requests sent through clients created by the factory.
|
||||
|
@ -276,4 +276,4 @@ An `IHttpClientBuilder` is returned when adding named or typed clients. The <xre
|
|||
|
||||
* [Use HttpClientFactory to implement resilient HTTP requests](/dotnet/standard/microservices-architecture/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests)
|
||||
* [Implement HTTP call retries with exponential backoff with HttpClientFactory and Polly policies](/dotnet/standard/microservices-architecture/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly)
|
||||
* [Implement the Circuit Breaker pattern](/dotnet/standard/microservices-architecture/implement-resilient-applications/implement-circuit-breaker-pattern)
|
||||
* [Implement the Circuit Breaker pattern](/dotnet/standard/microservices-architecture/implement-resilient-applications/implement-circuit-breaker-pattern)
|
||||
|
|
Loading…
Reference in New Issue