title: Reading a chunked HTTP JSON response behind basic authentication using ASP.NET C#
body: <p>With the huge number of ASP.net namespaces, classes and methods available I wonder if anyone can offer any assistance in narrowing down the ones I should pay particular attention to in order to:</p>
  
  <p><em>Read a chunked HTTP stream, which contains JSON data, after connecting via basic HTTP authentication, all in ASP.NET (v4.5) C#.</em></p>
  
  <p>Some of the classes I've been focusing on so far, albeit with not much luck, are:</p>
  
  <ul>
  <li>HttpClient</li>
  <li>HttpContent</li>
  <li>HttpRequestMessage</li>
  <li>HttpWebRequest</li>
  <li>HttpWebResponse</li>
  <li>StreamReader</li>
  <li>CredentialCache</li>
  <li>NetworkCredential</li>
  </ul>
  
  <p>I've got a feeling I'm close, but just can't tie everything together.</p>
  
  <p>Can anyone offer any help, or even a simple example?</p>