C# Tip: use IHttpClientFactory to generate HttpClient instances
The problem with HttpClient
When you create lots of HttpClient instances, you may incur Socket Exhaustion.
This happens because sockets are a finite resource, and they are not released exactly when you 'Dispose' them, but a bit later. So, when you cr...
code4it.hashnode.dev2 min read