Welcome to Windows Workflow Foundation (WF)
Top Tasks :

Hands-on Labs for Windows® Workflow Foundation Release Candidates

File Details
Downloads: 5914 File Size: 29.2kB
Posted By: mwink Views: 10703
Date Added: 8 Aug 2006

These are the hands-on labs updated for the release candidate builds of WF, included in the June and later CTP releases.  The following labs are contained within:

WF01 Getting Started with Windows Workflow Foundation

 

This is an introductory lab to developing workflows in Windows Workflow Foundation. It is based on Visual Studio 2005 with Windows Workflow Foundation RC and you are guided through a developer experience using Windows Workflow Foundation for the first time. In this lab you will learn creating and debugging a hello world workflow, receive data into the workflow using parameters, and create an expense reporting workflow using IF/Else, declarative conditions and custom activities.

 

WF02 Creating Custom Activities with Windows Workflow Foundation

 

Activities are the primary unit of execution, re-use and composition in a workflow. Create simple activities using the activity designer and add it to a workflow in the workflow designer. Exercises include creating an activity with the designer and with code, adding properties to an activity, creating a custom validator, and creating a custom activity design image. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF03 Hosting Workflows in Windows Workflow Foundation

 

To execute workflows you need to host the workflow runtime in your application. A host process is your application that hosts the workflow runtime classes. In this lab you will learn how to create a host process using a few lines of code and add services to it. Exercises include building a console host application, learning about the hosting environment, starting workflows from the host and using the SqlTrackingService in your host. You will also learn to build a custom tracking service. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF04 Creating State Machine Workflows in Windows Workflow Foundation

 

State machine workflow model structure is a valuable alternative to the sequential workflow structure. Create state machine workflows using the state machine designer. Exercises include creating an order processing state machine and using the State Machine tracking service. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF05 Communicating with the Host Application for Windows Workflow Foundation

 

Because workflow execution context is managed by the workflow runtime, all communication with the workflow must be managed by the host. Local Connection Services allows for method calls to be made into a workflow from the host environment and vice versa. This lab walks through creating an activity library which provides the interface for this communications mechanism, correlating that communication with the workflow instance, adding roles for security in communication and how you can handle processing a long running operation. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

 

 

WF06 Windows Workflow Foundation and Web Services

 

Web services can be called by workflows and workflows can be exposed in whole or in part as a web service for other software to call. This lab walks through making calls to web services from workflows and also how you can create a web service using a workflow and then expose that web service in an ASP.NET web services project. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF07 Creating Rules Driven Workflow in Windows Workflow Foundation

 

Rules are used in several activities in Windows Workflow Foundation including if else, conditioned activity group, replicator and policy activities. This lab walks through using the conditioned activity group, we look at how we can limit the conditioned activity group, it shows the Replicator activity and using a Replicator for handling a variable sized bill of materials and we try out the policy activity. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF08 Transactional Behavior in Windows Workflow Foundation

 

This lab examines some of the transaction processing areas of Workflow. Exercises include handling exceptions in workflow, wrapping activities in atomic short running transactions and also compensating for failed long running transactions. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF09 Modifying Workflow Models at Runtime with Workflow Change in Windows Workflow Foundation

 

Workflow can also be modified at runtime by suspending the workflow and manipulating the workflow model using API calls. Exercises include updating the model of a workflow instance from within the workflow and updating the model of a workflow instance from the host process and changing the conditions in an if else activity of a running workflow.  As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

WF10 Embedding the Workflow Designer for Windows Workflow Foundation

 

The workflow designer as seen in Visual Studio 2005 can be used in a user application. Exercises include displaying a workflow in the designer in a Windows forms application, interacting programmatically with the workflow designer, adding activities to the design surface, and implementing file operations Open Save Compile and Run in a Windows forms application. As a pre-requisite to this lab you should have completed the Getting Started with Windows Workflow Foundation lab.

 

Comments
No comments exist for this file.

Add Comment

Name (required)
Web Site (optional)
Comment (required)
Add

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us