Playing with HttpClient in .NET 4.8
Creating a new HttpClient instance for every request will exhaust the number of sockets available under heavy loads. This will result in SocketException errors. Don't use using statements. Because HttpClient instances should be long-lived. Disposing ...
May 10, 20232 min read401
