O'Reilly logo

Microsoft® Visual Studio® 2010 Unleashed by Lars Powers, Mike Snell

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

The Basics of Creating a Workflow

To get started with WF it is often easier to create a simple workflow to help better understand the core concepts. In this section, you create a workflow project that takes a number and determines if the number is odd or even and then returns an appropriate message. Of course you could write this code in a couple lines and do not need a workflow to express something so simple. However, keeping this example simple helps illustrate how workflows are created, hosted, and executed. We cover a more real-world example later in this chapter.

Creating a Basic XAML-Based Workflow

In this example, you create a single project to serve as the workflow library, the host, and the client. Note that this sample is available ...

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