Overview Of Tracing Through Web Servers and Messaging Frameworks Job Support:
Tracing through web servers and messaging frameworks Windows Communication Foundation (WCF) uses the tracing mechanism defined in a System. Diagnostics of namespace. In this tracing model, trace data is produced by the trace sources of that applications implement. Each source is identified by the name. Trace consumers create an trace of the listeners for the trace sources for which they want to retrieve the information.
To receive the trace data, you must create an listener for an trace source. In WCF, this can be done by adding the following code to either the service’s or the client’s configuration file by setting an Service Model trace source switchValueWhen a message is recorded, the trace type depends on whether it is being traced at the client or at the server.
For example, an “Add” message that is sent to an client is traced under the “TransportWrite” category at the client, whereas the same message is traced under the “TransportRead” category at the service.Configure the trace listener by an adding the following code to the System. Diagnostics section of the client’s App.config file or an service’s Web.config file