Microsoft
70-513 · Question #225
You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the…
The correct answer is C. Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the. See the full explanation below for the reasoning.
Question
You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure that client applications can communicate with the service and discover changes to the service endpoints. What should you do?
Options
- AAdd a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.
- BAdd a new AnnouncementClient to the Behaviors collection in the client application.
- CUse the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the
- DUse the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the
How the community answered
(22 responses)- A9% (2)
- B5% (1)
- C82% (18)
- D5% (1)
Community Discussion
No community discussion yet for this question.