tags:

views:

58

answers:

2

Hi,

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.

+3  A: 

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.

Will
Exactly what I was after (presuming it works as advertised!)... thanks.
Philip Wallace
A: 

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.

Program.X