I want to create a client and a server program using WCF. The communication between them will be TCP. The client will be a windows form where one can insert the host name and then it will list all the servers running on that machine.
Is there a way to do this? I.e. to browse all the WCF services in the machine host?
WCF Discovery - http://msdn.microsoft.com/en-us/library/dd456782.aspx
Windows Communication Foundation (WCF) provides support to enable services to be discoverable at runtime in an interoperable way using the WS-Discovery protocol. WCF services can announce their availability to the network using a multicast message or to a discovery proxy server. Client applications can search the network or a discovery proxy server to find services that meet a set of criteria.
How to: Programmatically Add Discoverability to a WCF Service and Client - http://msdn.microsoft.com/en-us/library/dd456783.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With