web.config 配置代理访问

<!-- web.config 配置代理访问  -->
<system.net>
<defaultProxy >
<proxy usesystemdefault="True" proxyaddress="http://192.168.102.3" bypassonlocal="True"/>
</defaultProxy>
<settings>
<servicePointManager expect100Continue="false" />
</settings>
</system.net>

原文链接
http://msdn.microsoft.com/en-us/library/aa903369(v=VS.71).aspx
原文地址:https://www.cnblogs.com/cyccess/p/2316311.html