title: Is there any way to bypass a proxy when using QueueClient in the new .Net standard Azure API - Microsoft.Azure.Servicebus?
body: <p>I'm currently working on a .net core application that uses a azure service bus queue.</p>
  
  <p>We are restricted to using AMQP over websockets and are behind a corporate proxy.</p>
  
  <p>The QuietClient class does not provide anyway to set proxy information in any of it's constructors and we get a 
  "Cannot connect to remote server" error when we attempt to write a message to the queue.</p>
  
  <p>The exact same code works when I use it from home - not behind a proxy!</p>
  
  <p>In regular .net bypassing a proxy could be achieved by adding to default proxy configuration in the web.config.</p>
  
  <pre><code>&lt;defaultProxy enabled="true" useDefaultCredentials="false"&gt;
      &lt;proxy usesystemdefault="True" proxyaddress="http://someAddredd:8888" /&gt;
      ......
  &lt;/defaultProxy&gt;
  </code></pre>
  
  <p>Because this is a .net core application the app doesn't use a web.config file for it's configuration.</p>
  
  <p>When deployed to IiS a light weight web.Config file is created to allow the IIS to integrate with core's kestrel web server. However, adding the bypass proxy info to this does not work.</p>
  
  <p>Any help would be much appreciated!</p>