title: How to configure web proxy for HttpClient created directly via HttpClientFactory?
body: <ul>
  <li>By directly I mean without Asp.Net Core IoC/DI helpers.</li>
  </ul>
  
  <p>I didn't find docs about it and I think my current solution isn't optimal because the handler lifecyle isn't managed by the HttpClientFactory:</p>
  
  <pre><code>var proxiedHttpClientHandler = new HttpClientHandler() { Proxy = httpProxy };
  _createHttpClient = () =&gt; HttpClientFactory.Create(proxiedHttpClientHandler);
  </code></pre>
  
  <p>Is there a better solution?</p>