title: System.UriFormatException: Invalid URI : The URI is Empty
body: <p>I am using a URL that works when I put it in chrome, but in my VS C# code the same url when used in (public async static task)</p>
  
  <pre><code>using (var client = new HttpClient(handler))  {    
  client.BaseAddress = new Uri(url);    ----------&gt; Error
  </code></pre>
  
  <p>....</p>
  
  <pre><code>Method threw exception: 
  System.AggregateException: One or more errors occurred. ---&gt; System.UriFormatException: Invalid URI: The URI is empty.
  Result StackTrace:  
  at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
     at System.Uri..ctor(String uriString)
  </code></pre>
  
  <p>I am sure the URL isn't malformed, so I can't figure out what could be the reason for this error . Thanks for your help.</p>