View Windows Workflow Tracked Data Tools

For some reasons, it took me a few google search attempts to find the following tools:

 MSDN includes  Workflow Monitor Sample -Windows executable to view details of tracked workflows.

When downloaded, copy EXE to your bin directory when custom workflow DLLs are located.
Ensure that tracking database doesn't have too many instances, to avoid timeouts.

 

Jon Flanders put together the ASP.NET implementation of the Workflow Monitor SDK sample. 

 MSDN Tracking Samples mostly described how to store tracking data, but  ConsoleTrackingService Sample shows how to write the contents of tracked data to the console.
It is good for debugging, getting trace in Output window, but the records in the sample are too wordy. The similar class in Pro WF: Windows Workflow in .NET 3.5 is more brief- output one line per event. The issue with showing time of event in UTC can be fixed by calling  the method

        //the logged dateTimes are in UTC

        private DateTime GetDateInRequiredTimeZone(DateTime utcDate)

        {

            //TODO: if required, leave in UTC or change as configurable

            return utcDate.ToLocalTime();

        }

For configurartion tracking service see the answer in the thread Custom Tracking service in app.config, Web.config web service workflow

Related MSDN articles:Windows Workflow Foundation: Tracking Services Introduction", Windows Workflow Foundation: Tracking Services Deep Dive

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Enterprise Library Logging Application Block and Alternatives Links

 Overview of to Enterprise Library Logging Application Block and Alternatives  

  Loren Halvorson's comparision of the Enterprise Library Logging & Instrumentation Application Block and Log4Net (Published in 2005)

 Comments on the EntLib/Log4Net feature and performance comparison (Published in 2005)

EntLib v4 has a few performance improvements in Logging Block.

Based on quick read I feel that Log4Net and NLog are simple and may be sufficient for small applications.
But they seems do not support specifying event Categories, that allow to separate messages from different part of application. So I prefer Enterprise Library Logging Application Block (LAB) for our app.

 The discussion on stackOverview voted for Log4Net.

It also recommends http://www.theobjectguy.com/DotNetLog/compare.aspx

 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
«July»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789