.NET: Calling an external url through a proxy

Calling an external url from .NET (e.g. calling an external WebService) through a proxy can be challenging.

In web.config you can configure settings in

  <system.net>
    <defaultProxy useDefaultCredentials="true">
      <proxy autoDetect="True" />
    </defaultProxy>
  </system.net> 

But it might not be working with these settings. You might find something that fits your needs with:

MS Ref: http://msdn.microsoft.com/en-us/library/sa91de1e.aspx

Some explanation: http://sticklebackplastic.com/post/2007/01/26/Poxy-proxies.aspx

The End.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: