Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Hands On Lab: Introduction to Windows Workflow Foundation (WF4)
Hands On Lab: Introduction to Windows Workflow Foundation (WF4)

Hands On Lab: Introduction to Windows Workflow Foundation (WF4)

Ron Jacobs

|
21,275 clicks
| (42) | Free
Learn how to create your first Windows Workflow Foundation in .NET 4 program with this hands on lab.
Get Started

Welcome to Windows Workflow Foundation 4 (WF) Microsoft's programming model, engine and tools for quickly building workflow-enabled applications. This release of WF in .NET Framework 4 changes several development paradigms from previous versions. Workflows are now easier to create, execute, and maintain.

If you want to see how I made this lab with Feature Builder seeendpoint.tv - Making of The Lab - Intro to WF4

Other Hands On Labs for Workflow

  • Introduction to State Machine Hands On Lab
  • Visual Studio 2010 Training Kit - Introduction To Workflow Services Hands On Lab

Getting Started

To get started see endpoint.tv - Lab Introduction To WF4: Getting Started

  1. Download the IntroToWF4.vsix file from MSDN Code Gallery
  2. Open the IntroToWF4.vsix file to install it (Restart Visual Studio if it is running during install)
  3. Start Visual Studio
  4. Select File / New Project / Workflow / Hands On Lab and start with exercise 1

Objectives

In this Hands-On Lab, you will learn:

  • How to create an activity using the designer and XAML or C# code
  • How to run and test activities using the WorkflowApplication andWorkflowInvoker classes
  • How to pass InArguments and receive OutArguments from a workflow
  • How Expressions and Variables are used
  • How to use the Sequence, WriteLine, Assign and If activities
  • How to load and run an activity from a xaml file

Exercises

This Lab consists of the following exercises.  You can jump to any exercise in the lab at any time.  Just create a new project from the project template for the lab exercise

  • Exercise 1 - Hello Workflow (video)
  • Exercise 2 - Refactoring Workflow (video)
  • Exercise 3 - The CodeActivity (video)
  • Exercise 4 - Dynamic Workflows with XAML (video)
  • Exercise 5 – Testing Activities (video)
  • Exercise 6 – WorkflowApplication (video)
  • Exercise 7 – If/Else Logic (video)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft