WCF Discovery simply doesn't work
问题 I'm trying to add ad-hoc discovery to a simple WCF service-client setup (currently implemented by self hosting in a console app). Debugging using VS2010 on windows 7, and doing whatever I can find in online tutorial, but still - the discovery client simply finds nothing. Needless to say if I open a client to the correct service endpoint I can access the service from the client. service code: using (var selfHost = new ServiceHost(typeof(Renderer))) { try { selfHost.Open(); ... selfHost.Close()