Gets or sets a value that indicates whether proxies are ignored for local addresses.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
A local address is one that is on the local LAN or intranet.
WCF always ignores the proxy if the service address begins with http://localhost. You should use the host name (rather than localhost) if you want clients to go through a proxy when talking to services on the same machine.
The following example sets this property to use when performing requests on the binding.
HttpTransportBindingElement httpBinding = new HttpTransportBindingElement(); httpBinding.BypassProxyOnLocal = true;
Available since 3.0