title: ASP.Net Core SignalR not working with Xamarin iOS client
body: <p>Based on the info here <a href="https://github.com/aspnet/Announcements/issues/305" rel="nofollow noreferrer">https://github.com/aspnet/Announcements/issues/305</a> I was hoping to get my iOS client working with ASP.Net Core SignalR, but still no luck. I get an exception when the client tries to connect to the hub:</p>
  
  <pre><code>//  Connect to the SignalR hub.
  string url = 
  $"http://{DataService.HostName}:{DataService.MainPort.ToString()}/hub";
  try
  {
      MediaHubConnection = new HubConnectionBuilder().WithUrl(url).Build();
  }
  catch (Exception e)
  { // Handle exception }
  </code></pre>
  
  <p>The code above works fine in the iDevice simulator, but crashes on the device itself. I am using Visual Studio 15.8.0 with Xamarin iOS 11.14.0.13 on Windows 10, and on the Mac Visual Studio for Mac 7.6.1 Build 9 with Xamarin iOS 11.14.0.13 there as well. And the latest released Nugets for AspNetCore SignalR (server and client).</p>
  
  <p>Anyone else run into this behavior? Any help is highly appreciated.</p>