Configuring ETW tracking

ETW stands for Event Tracing for Windows. Simply put, ETW tracking means our ability to see tracking information in the famous Event Viewer.

Getting ready

We need Windows Vista, Windows 7, or Windows Server 2008 to perform this task.

How to do it...

  1. Create a Workflow Console Application project:

    Create a new Workflow Console Application project and name it ConfiguringETWTracking. Name the solution as Chapter06.

    How to do it...
  2. Author a workflow:

    Open the Workflow1.xaml file, which is created by default, and create an extremely simple workflow just for tracking.

  3. Enable ETW tracking:

    Open Event Viewer, navigate to Event Viewer | Applications ...

Get Microsoft Windows Workflow Foundation 4.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.