You can always use the core ‘Tracelistener’ events provided by .NET , but WCF has readymade trace listeners for the core WCF objects.
Assembly Name | Description |
System.ServiceModel | Logs the following :-
- Message process
- Reading of configuration information
- Transport-level action
- Security requests
|
System.ServiceModel.MessageLogging | Generates tracing information for every message that flows through the system. |
System.ServiceModel.IdentityModel | Generate trace data for authentication and authorization. |
System.ServiceModel.Activation | Emits information regarding activation of the service. |
System.Runtime.Serialization | Emits information when objects are serialized or deserialized. WCF always serializes and de-serializes information during request so it’s a good event to see the content of the request. |
System.IO.Log | Emits messages with respect to Common Log File System (CLFS). |
CardSpace | Emits trace messages related to any CardSpace identity processing that occurs within WCF context. |
Asked In: Many Interviews |
Alert Moderator