O'Reilly logo

Beginning WF: Windows Workflow in .NET 4.0 by Mark Collins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Building a Simple Workflow

Let's start by building a simple workflow. Start Visual Studio (VS) 2010 and select the New Project link. Under the Installed Templates, navigate to Visual C#, Workflow and you should see that four templates have been provided. Select the Workflow Console Application, as shown in Figure 1-1. Enter the name as Chapter01 and select a suitable location for this solution.

Creating a new workflow project

Figure 1-1. Creating a new workflow project

A Simple Workflow

The template generates a Program.cs file, which implements the console application. It also generates a Workflow1.xaml file, which defines the activities in your workflow. If you've worked ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required