문제

I'm using the new features of .NET 4 and WCF that generate a default service entry dynamically for me. That's quite handy as it saves me from adding about 30 identical (apart from the contract) service entries in the config file.

Now I'd like to use discovery. No problem for the announce part (sending Hello and Bye when going on- and off-line) as I can simply add the discovery behaviour to the default behaviour (with no name). That works just fine.

However for the discovery part (replying to discovery requests) I would need to add a DiscoveryEndpoint to all services. That's the part that I don't know how to do. I couldn't find any information on MSDN and I'm not sure it can actually be done.

Any pointer would be appreciated.

Cheers.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top