nerdexam
Microsoft

70-513 · Question #106

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. 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
  • DUse the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    17% (6)
  • C
    75% (27)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice