title: 'HttpClientFactory' does not exist in the current context
body: <p>I'm writing an application in C#. It pulls the data from Cloudant NoSQL DB.</p>
  
  <p>But when I'm trying to create the Http client:</p>
  
  <pre><code>HttpClient client = HttpClientFactory.Create(new LoggingHandler());
  </code></pre>
  
  <p>the compiler throws error saying that </p>
  
  <blockquote>
    <p>'HttpClientFactory' does not exist in the current context</p>
  </blockquote>
  
  <p>I have also included:</p>
  
  <pre><code>using System.Net.Http;"
  </code></pre>
  
  <p>at the top.</p>
  
  <p>I still cannot find where the error is.</p>
  
  <p>Could someone please throw some light.</p>