If you need to configure a website to access a webservice etc. which is deployed on another machine vie a proxy, you just need to update your web projects web.config file as shown below:
<configuration>
...
<!--<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy
proxyaddress="http://proxyIPAdress:portNumber"
usesystemdefault="True"/>
</defaultProxy>
</system.net>-->
...
</configuration>
That's all.
Happy coding :)
Comments
Post a Comment