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
答案解析:有
微信扫一扫手机做题