试题详情
- 单项选择题A Windows Communication Foundation (WCF) application exposes a service as a SOAP endpoint for consumption by cross-platform clients.During integration testing, you find that one of the clients is not generating the correct messages to the WCF application.In order to debug the issue and fix the communication, you need to configure the service to log messages received from the client.What should you do?()
A、Set an etwTracking behavior on the service and configure a listener for the System.ServiceModel trace source.
B、Set an etwTracking behavior on the service and configure a listener for the System.ServiceModel.MessageLogging trace source.
C、Enable messageLogging in the System.ServiceModel diagnostics element configuration and configure a listener for the System.ServiceModel.MessageLogging trace source.
D、Enable messageLogging in the System.ServiceModel diagnostics element configuration and configure a listener for the System.ServiceModel trace source.
- C
关注下方微信公众号,在线模考后查看
热门试题