试题详情
单项选择题 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?()

A、Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.

B、Add a new AnnouncementClient to the Behaviors collection in the client application.

C、Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the client application.

D、Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the binding in the client application.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题