HttpClient Creation and Disposal Internals: Should I Dispose of HttpClient?

added by DotNetKicks
2/21/2019 2:46:38 PM

2 Kicks, 374 Views

A common question that I get asked quite often and a point of reasonable confusion for developers is "Should I dispose of HttpClient or not?" There isn't one yes or no answer to this. It really does depend on a few key factors.