I am new to WCF. I am using VS 2010 to develop my application. The scenario is:
I have a client windows application.
I have a WCF web service which is IIS hosted on multiple machines for example MachineA, MachineB, MachineC.
Say my client windows application is installed on MachineD. Now I have added Service reference of the service from MachineA. Now at runtime I want to connect to the service running at MachineB, can I do that? How?
Do I need to add new endpoints programatically?
Please suggest some solution for this.
Regards,
Girish
Thanks & Regards
Girish Nehte
If This post helps you to solve your problem please mark this as an answer.
girishnehte
Member
76 Points
433 Posts
Connect to any instance out of the multiple instances of WCF service
Feb 22, 2013 08:15 PM|LINK
Hi friends,
I am new to WCF. I am using VS 2010 to develop my application. The scenario is:
I have a client windows application.
I have a WCF web service which is IIS hosted on multiple machines for example MachineA, MachineB, MachineC.
Say my client windows application is installed on MachineD. Now I have added Service reference of the service from MachineA. Now at runtime I want to connect to the service running at MachineB, can I do that? How?
Do I need to add new endpoints programatically?
Please suggest some solution for this.
Regards,
Girish
Girish Nehte
If This post helps you to solve your problem please mark this as an answer.
sukumarraju
All-Star
17337 Points
3057 Posts
Re: Connect to any instance out of the multiple instances of WCF service
Feb 23, 2013 12:03 AM|LINK
It is feasible to add end point programatically as explained here
http://msdn.microsoft.com/en-us/library/ff647110.aspx
Application Architecture Guide 2.0
My Blog
Twitter