-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Microsoft Windows Workflow Foundation 4.0 Cookbook
By :

ETW stands for Event Tracing for Windows. Simply put, ETW tracking means our ability to see tracking information in the famous Event Viewer.
We need Windows Vista, Windows 7, or Windows Server 2008 to perform this task.
Create a Workflow Console Application project:
Create a new Workflow Console Application project and name it ConfiguringETWTracking
. Name the solution as Chapter06
.
Author a workflow:
Open the Workflow1.xaml
file, which is created by default, and create an extremely simple workflow just for tracking.
Enable ETW tracking:
Open Event Viewer, navigate to Event Viewer | Applications and Services Logs | Microsoft | Windows | Application Server-Applications. Right-click Application Server-Applications and select View | Show Analytic and Debug Logs. After refreshing the node, we should see:
Create a workflow host:
Open Program.cs
file, and fill the file with the following code:
using System.Activities.Tracking; using...
Change the font size
Change margin width
Change background colour