Find solution

How to connect to a WCF Service?

Check our answers to ‘How to connect to a WCF Service?’ - we found 30 replies and comments relevant to this matter. The best answers are submitted by users of Stack Overflow, Quora and Yahoo! Answers.

Best solution

  • Connect to a WCF service (.svc) via a proxy (with username / password)

    I've created a WCF service. I call it like this: ServiceClient client = new ServiceClient (); client.MyMethod(); So far so good on my machine. Now I've deployed it in our DMZ (whatever that is), and I can call it via an outside URL (so the request from my machine goes out to the Internet and then goes to our datacenter). But, we connect via a proxy to the Internet. I am not sure how that works, but I have to enter a proxy server in the connections, LAN settings section of Internet Explorer...

    Answer:

    In such a case, using the default proxy should be enough: <configuration> <system.net> ...

    Mark as irrelevant Undo

Other solutions