News

Introduced in .NET Core 2.1, IHttpClientFactory provides a central place to name, configure, and create HttpClient instances and manages the pooling and lifetimes of the instances automatically.
You can use this feature with your ASP.NET Core 6 or minimal APIs. I’ll have more to say about minimal APIs (such as working with security and middleware) in a future post here.