Reputation: 8035
What is the best way to achieve something like the SQL Server Browser but for WCF services running on the local network?
I don't necessarily want to be able to browse for any and all WCF services, but rather for a service which has been coded to be browse-able.
Upvotes: 2
Views: 274
Reputation: 7412
I thought of doing this myself, and Will's response clarifies that I may have to do this my hacky way.
My server app has a restricted range of port numbers on TCP/IP (say: 8000-8080). A brutal solution would be to set off 5 or so threads at a time, each thread trying a different port until it got a response on a relatively short timeout.
Upvotes: 0
Reputation:
Its easy in WCF 4.0, which includes new WS-Discovery features. You'd have to hand-roll your own version of this for the current releases of WCF, I believe.
Upvotes: 3