Sometimes when we are developing some application, we do it in a particular location where there's a proxy to access internet.
To build some websites with the capability to integrate information from internet sources we defined the proxy in the application's web.config like this
<configuration>
<system.net>
<defaultProxy>
<proxy proxyaddress ="http://localproxy:8080" bypassonlocal="True" usesystemdefault="False" />
<bypasslist>
<add address="somelocaladdress.com" />
<add address="someotherlocaladdress.com" />
</bypasslist>
</defaultProxy>
</system.net>
</configuration>
Use like:
ReplyDelete