I plan to develop a new application using WCF/WF. The application will run as a windows service, with WF hosted in WCF via extension.

I am looking out for a unified/standardized way of implementing Error Handling , Logging ( For Instrumentation) & Tracking ( to track flow of message in WCF as well as WF).

Some of the options I have looked at are using IExtension and or IServiceBehaviour. Though they seem to make sense I have not made much progress with the implementation.

I am unable to finalize the approach & any help/pointers in the right direction would be of great help.



Re: Windows Communication Foundation (Indigo) WCF - WF Error Handling & Tracking

Shy Cohen - MSFT

WCF has a wealth of monitoring and diagnostics features, from end-to-end tracing to performance counters to WMI instrumentation. Did you look into these If you did and stuff is still missing, what would you like to do that you do not get out of the box

Re: Windows Communication Foundation (Indigo) WCF - WF Error Handling & Tracking


I would check out enterprise library 3.0 and the Logging Application block but use it via the Policy Injection Application block... by wrapping your classes you can put policies on methods to log details via the config file without much trouble at all.

check out this webcast: http://blogs.msdn.com/tomholl/archive/2007/05/06/reminder-policy-injection-application-block-webcast-on-this-week.aspx