c# - How to programmatically connect a client to a WCF service? - Stack Overflow
I'm trying to connect an application (the client) to an exposed WCF service, but not through the application configuration file, but in code. How should I go about doing this? Thanks....