Sequential Markup Workflow Sample

Download sample

This sample includes a simple sequential workflow that is created as markup (XAML) with code-beside.

To create a new sequential workflow as markup

  1. Right-click the project, point to Add, and then select New Item.

  2. Select Sequential Workflow (with code separation).

    After the workflow is created, you can add activities and use the workflow in a project just like you use a code-only workflow.

To build the sample

  1. Download the sample by clicking Download Sample.

    This extracts the sample project to your local hard disk.

  2. Click Start, point to Programs, point to Microsoft Windows SDK, and then click CMD Shell.

  3. Go to the source directory of the sample.

  4. At the command prompt, type MSBUILD <Solution file name>.

To run the sample

  1. In the SDK Command Prompt window, run the .exe file in the SequentialMarkupWorkflow\bin\debug folder (or the SequentialMarkupWorkflow\bin folder for the Visual Basic version of the sample), which is located below the main folder for the sample.

See Also

Other Resources

Markup Samples
Using Workflow Markup
Workflow Markup Overview

© 2007 Microsoft Corporation. All rights reserved.