Search Wiki:

Introduction To Windows Workflow Foundation in .NET 4 Hands On Lab

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.

Getting Started


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

  1. Download the IntroToWF4.vsix file from the current release and double click to install it (Restart Visual Studio if it is running during install)
  2. Start Visual Studio
  3. Select File / New Project / Workflow / Hands On Lab and start with exercise 1
  4. From the menu select File / New Project / Workflow / Hands On Lab

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 and WorkflowInvoker 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 Title Resources
1 Hello Workflow video
2 Refactoring Workflow video
3 The CodeActivity video
4 Dynamic Workflows with XAML video
5 Testing Activities video
6 WorkflowApplication video
7 If/Else Logic video

Making of the Lab

For more on how this lab was built using the Visual Studio Feature Builder Power Tool see endpoint.tv - Making of The Lab - Intro to WF4
Last edited Aug 5 2010 at 1:56 PM  by RonJacobs, version 13
Comments
amoon wrote  Aug 4 2010 at 12:42 PM  
excelent job Ron. Stuff was excellent and the way you presented was also outstanding. I would love to see more labs like this.

RonJacobs wrote  Aug 5 2010 at 1:53 PM  
Thanks - be sure to give the lab a rating on Visual Studio Gallery if you like it.

SuryaKC wrote  Aug 19 2011 at 9:00 PM  
Great tutorial!

panoone wrote  Jan 22 2012 at 9:49 PM  
I was really looking forward to doing this lab but unfortunately I had to uninstall it due to an error dialog caused by the FeatureBuilder runtime upon opening any project. :(

"Feature Builder Upgrade Notice
You must manually upgrade your building solution created by the RC preview. Please rename FeatureBuilder.feature file to FeatureBuilder.featureid and then close and re-open your solution."

Refer http://visualstudiogallery.msdn.microsoft.com/67b720f4-9a50-41cb-86a2-82e33b7c5fc4/view/Discussions to see running thread about this issue.

Updating...
Page view tracker