Building a State Machine Workflow Application

So how do we build state-based workflows? As it happens, Visual Studio is, as always, there to help. Creating a state-based workflow project is as easy as creating a sequential workflow. Let’s build a basic state-based workflow project to see how it’s done. We won’t add any code to the project quite yet—we need to progress a bit further in the book for that. But when we need it, we’ll know how state-based workflows are created.

Creating a state machine workflow application

  1. Start Microsoft Visual Studio 2005 as you did for building a sequential workflow.

  2. On the File menu, select New and then Project, which activates the New Project dialog box.

  3. As you typically do when creating new projects, expand the Visual ...

Get Microsoft® Windows® Workflow Foundation Step by Step 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.