禁用WCF数据服务客户端以使用系统代理

[英]Disable WCF Data Service Client to use system proxy


I am using wcf data service as client like this:

我使用wcf数据服务作为客户端,如下所示:

var context = new MyDerivedDataServiceContext(service_uri);
var res = context.Execute<bool>(service_uri, "GET", true).First();

but my application always uses default system proxy while executing. How can I disable using system proxy? (I am using OData version 5.6 on windows 8.1)

但我的应用程序总是在执行时使用默认系统代理。如何禁用系统代理? (我在Windows 8.1上使用OData 5.6版)

Edit:

I have checked this answer but this does not work for wcf data service. I encountered such a problem when a user using Psiphon3 force shutdown or quit the proxy application, and the proxy IP/Port remains on system.

我已经检查了这个答案但这对wcf数据服务不起作用。当用户使用Psiphon3强制关闭或退出代理应用程序,并且代理IP /端口仍在系统上时,我遇到了这样的问题。

The problem is how my application does not use the system proxy and connect directly?

问题是我的应用程序如何不使用系统代理并直接连接?

Regards.

1 个解决方案

#1


0  

By my understanding, You need to set your system proxy to bypass those addresses.

根据我的理解,您需要设置系统代理以绕过这些地址。

Control panel -> Internet options-> Connections-> LAN Settings -> Advanced

控制面板 - > Internet选项 - >连接 - >局域网设置 - >高级

Then you can set the bypass address.

然后您可以设置旁路地址。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2015/06/07/bfcb99a37f4eb6cadfe42dc40a012d1c.html



 
  © 2014-2022 ITdaan.com 联系我们: