title: Async requests with .NET core
body: <p>I need a little help to find out my problem. I've used ASP.NET core and i'm fairly familiar with that, although .NET core C# seems to be "crashing" and exiting when trying to make my async request.</p>
  
  <p>I have a method that returns the external IP of the system</p>
  
  <pre><code>private async Task&lt;string&gt; getExternalIP()
      {
          using (System.Net.Http.HttpClient HC = new System.Net.Http.HttpClient())
          {
              return await HC.GetStringAsync("https://api.ipify.org/");
          }
  
      }
  </code></pre>
  
  <p>This should work, but it exits when it reaches the HC.GetStringAsync. I've also tried putting a breakpoint on it but it doesn't actually run.</p>
  
  <p>I'm trying to call the method by using </p>
  
  <pre><code>string Address = await getExternalIP();
  </code></pre>
  
  <p>Any help is thankful, hopefully i'm not just overlooking something.</p>
  
  <p>Thanks!</p>