title: HttpClient has no definition for GetJsonAsync
body: <p>I'm currently tapping into Blazor, and want to move my code so it's more readable and reusable. In my razor component, the Method works flawlessly - in a Class, it doesn't.</p>
  
  <p>In my component, I can simply use this:</p>
  
  <pre class="lang-cs prettyprint-override"><code>response = await Http.GetJsonAsync&lt;T&gt;(Uri);
  </code></pre>
  
  <p>In my Class, Visual Studio complains that System.Net.Http's HttpClient contains no definition for GetJsonAsync - but I'm getting a typed response, so I want to deserialize it properly.</p>