title: Long lived HttpClient created by HttpClientFactory
body: <p>I've read that <code>HttpMessageHandlers</code> are recycled every 2 minutes, but I'm not sure if a new one is assigned to an existing <code>HttpClient</code>?</p>
  
  <p>I've tested it out by using <code>SetHandlerLifetime(TimeSpan.FromSeconds(5));</code> and even after 2 minutes with countless requests, the httpClient is continuing to work, which is a good sign?</p>
  
  <p>Does that mean that I have no cause for concern with DNS changes/socket exhaustion?</p>
  
  <p>Inside <strong>ConfigureServices</strong> method:</p>
  
  <pre><code>var myOptions = app.ApplicationServices.GetService&lt;IOptionsMonitor&lt;MyOptions&gt;&gt;();
  HttpClient httpClient = app.ApplicationServices.GetService&lt;IHttpClientFactory&gt;().CreateClient();
  MyStaticObject.Configure(myOptions, httpClient);
  </code></pre>
  
  <p><strong>EDIT:</strong> Added some sample code.</p>