HTTP Client Factory with .NET Core 2.1

added by DotNetKicks
6/5/2018 11:29:16 AM

3 Kicks, 1542 Views

The HttpClient class can be easily used in a way how it's not meant to be. While this class is disposable, using it with the using statement is often not the best choice. Disposing the HttpClient, the underlying socket is not immediately released. The HttpClient class is designed to be reused for multiple requests.


0 comments