IHttpClientFactory
offers the following benefits:
- Naming and configuring logical
HttpClient
instances. - Build an outgoing request middleware to manage cross-cutting concerns around HTTP requests.
- Integrates with Polly for transient fault handling.
- Avoid common DNS problems by managing
HttpClient
lifetimes. - Adds logging for all requests sent through clients created by the factory.
…
Top comments (0)