Partilhar via


Getting Started Tutorial

This topic applies to Windows Workflow Foundation 4 (WF4).

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.

Note

To download a completed version of the tutorial, see Windows Workflow Foundation (WF4) - Getting Started Tutorial.

In This Section

  • How to: Create an Activity
    Describes how to create a custom activity that derives from NativeActivity, 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 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.

See Also

Other Resources

Windows Workflow Foundation Programming

Build Date: 2012-03-02