DRAG DROP
You are developing a self-hosted WCF service that returns stock market information. The service must be
discoverable by any client application. You need tobuild the service host. How should you build the host? (To
answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code
segment may be used once, more than once, or not atall. You may need to drag the split bar between panes
or scroll to view content.)
How should you build the host?
DRAG DROP
You are developing a self-hosted WCF service that returns stock market information. The service must be
discoverable by any client application. You need tobuild the service host. How should you build the host? (To
answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code
segment may be used once, more than once, or not atall. You may need to drag the split bar between panes
or scroll to view content.)
respuesta incorrecta la respuesta era UdpDiscoveryEndpoint ..
Based on http://www.codeproject.com/Articles/469549/WCF-Discovery, you are incorrect. UDP limits to LAN, and this needs to be “discoverable by any client”.
I take that back: “UdpBinding is useful in scenarios where a service needs to send out small messages to a number of clients simultaneously. A stock ticker application is an example of such a service.” https://msdn.microsoft.com/en-us/library/hh556229%28v=vs.110%29.aspx
Answer is UDPDiscoveryEndpoint.
https://msdn.microsoft.com/ru-ru/library/dd456791(v=vs.110).aspx