Creating the first WF program: HelloWorkflow

In this task we will create our first workflow to print "Hello Workflow" to the console application.

How to do it...

  1. Create a Workflow Console Application project:

    After starting Visual Studio 2010, select File | New Project. A dialog is presented, as shown in the following screenshot. Under the Visual C# section, select Workflow, and choose Workflow Console Application. Name the project HelloWorkflow. Name the solution Chapter01 and make sure to create a directory for the solution.

    How to do it...
  2. Author the workflow program:

    First, drag a Sequence activity to the designer from Toolbox, next drag a WriteLine activity ...

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.