Getting Started Tutorial
This section contains a set of walkthrough topics that introduce you to programming Windows Workflow Foundation (WF) applications. By following the procedures in these topics, you will build an application that is a number guessing game. The first topic in the tutorial leads you through the steps to create the custom activities required for the workflow. In the second topic, these activities are assembled along with built-in workflow activities into a flowchart workflow. In the third topic, the host application is configured to run the workflow, and in the final topic persistence is introduced. Each step in this process depends on the previous steps, so we recommend that you complete them in order.
In This Section
How to: Create an Activity
Describes how to create a custom activity that derives from NativeActivity<TResult>, and how to compose this activity along with a built-in activity into a composite activity using the activity designer.
How to: Create a Workflow
Describes how to create flowchart, sequential, and state machine workflows by using built-in activities and the custom activities from the preceding tutorial.
How to: Run a Workflow
Describes how to invoke a workflow from a host environment, pass data into and out of a workflow, and how to resume bookmarks.
How to: Create and Run a Long Running Workflow
Describes how to add persistence to a workflow application.
How to: Create a Custom Tracking Participant
Describes how to create a custom tracking participant and tracking profile.
How to: Host Multiple Versions of a Workflow Side-by-Side
Describes how to use WorkflowIdentity
to host multiple versions of a workflow side-by-side.
How to: Update the Definition of a Running Workflow Instance
Describes how to use dynamic update to modify running workflow instances.