This is a mirror of official site: http://jasper-net.blogspot.com/

Tracing in WCF: Understanding basic steps

| Tuesday, June 28, 2011
Theory behind WCF Tracing is not an exception of classical definition of Tracing. Through Tracing an application provides information about itself. Information may vary from internal state of object to passed input parameter to method. This information should be logged, persisted or saved somewhere.

WCF Tracing can be used for the instrumentation of the WCF Service.

There are essentially four steps involved in WCF Tracing

image_thumb117.png?w=519&h=309

Emitting Trace information from Service

To emit trace information WCF provides different sources. However you have choice to create trace source using TraceSource class as well. You can choose any of WCF Assembly level trace source to emit the tracing information.

WCF Assembly level Trace Sources are as below,

    System.ServiceModel
    System.ServiceModel.MessageLogging
    System.ServiceModel.IdentityModel
    System.ServiceModel.Activation
    System.Runtime.Serilization
    System.IO.Log

Read more: DEBUG MODE……

Posted via email from Jasper-net

0 comments: