Tag: IHttpClientFactory

Exploring the code behind IHttpClientFactory in depth
Exploring the code behind IHttpClientFactory in depth
Blog Posts

Exploring the code behind IHttpClientFactory in depth. In this post I take a look at the code in the default implementation of IHttpClientFactory in ASP.NET Core—DefaultHttpClientFactory. We’ll see how it ensures that HttpClient instances created with the factory prevent socket exhaustion, while also ensuring that DNS changes are respected. This post assumes you already have a general idea of IHttpClientFactory and what it’s… READ MORE