我希望服务器 web.config 配置尽可能与客户端匹配。所有客户端都使用proxy auto-configuration script .
有没有办法在web.config中指定这个脚本文件?
最佳答案
是的
直属<configuration>
:
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy scriptLocation="--- your script location here ---" bypassonlocal="True" />
</defaultProxy>
</system.net>
关于asp.net - 是否可以在 web.config 中指定自动配置代理?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5060904/