Windows Workflow Foundation Using C#

Microsoft's Windows Workflow Foundation (WF) provides a framework for creating scalable applications consisting of independent program units called activities. WF 4 was a major rewrite of this technology, offering significantly higher performance and making it easier to create and execute workflow applications. WF 4.5 contains new activities, designer capabilities, and a new workflow development model (state machines). It also supports the use of C# expressions in C# workflows. This four-day course covers WF 4.5 and uses Visual Studio 2013, which provides a visual designer for creating workflows.

This Windows Workflow Foundation Using C# training class begins with an overview of the concepts of workflow and the programming model provided by WF. The essentials of WF programming are then covered, followed by a systematic treatment of the major features of WF, including the Built-In Activity Library. Other topics covered in this course include primitive and control flow activities, the alternatives to hosting workflow, collection and parallel activities, the creation of custom activities, flowchart and state machine activities, persistence and bookmarks, Workflow Services and using Windows Communication Foundation (WCF). The course concludes with a discussion of debugging, error handling, transactions and compensation.

Numerous programming examples and exercises are provided.


Public Classes: Delivered live online via WebEx and guaranteed to run . Join from anywhere!

Private Classes: Delivered at your offices , or any other location of your choice.

Course Topics
  1. Understand the concept of workflow and the architecture of WF
  2. Implement workflow applications using WF
  3. Use standard activities from the Built-In Activity Library
  4. Implement custom activities for workflow applications
  5. Provide hosting for workflow applications
  6. Implement persistence in workflow applications
  7. Implement and consume workflow services
  8. Debug workflow applications
  9. Handle errors and perform compensation in workflow applications
  1. Workflow Foundation Conceptual Overview
    1. What is Workflow?
    2. Windows Workflow Foundation
    3. Workflows
    4. Activities
    5. A Workflow Business Scenario
    6. Workflow Foundation 3
    7. Workflow Foundation 4
    8. Workflow Foundation 4.5
  2. Getting Started with WF 4.5
    1. Visual Studio Workflow Projects
    2. Workflows in Code
    3. Workflows in XAML
    4. Workflow Designer
    5. Sequence
    6. Assign
    7. Variables, Arguments and Expressions
    8. WriteLine
    9. Control Flow
  3. Primitive and Control Flow Activities
    1. InvokeMethod
    2. Workflow Variables
    3. Delay
    4. Parallel
    5. If
    6. While and DoWhile
    7. Switch
  4. Custom Activities
    1. Why Custom Activities?
    2. Arguments
    3. Activity Class Hierarchy
    4. CodeActivity
    5. Composing Activities
  5. Workflow Hosting
    1. WorkflowInvoker
    2. WorkflowApplication
    3. WorkflowApplication Delegates
    4. Canceling and Aborting a Workflow
    5. Terminating a Workflow
    6. Workflows in a Windows Application
    7. Workflows in ASP.NET
  6. Collection and Parallel Activities
    1. Collection Activities
    2. ForEach
    3. ParallelForEach
    4. AsyncActivity
  7. More about Custom Activities
    1. Waiting for Input
    3. NativeActivity
    4. Pick
  8. Flowchart and State Machine
    1. Flowcharts
    2. Flowchart Activity Designers
    3. State Machines
    4. States and Transitions
    5. State Machine Activity Designers
    6. Threading Issues
  9. Persistence
    1. Long-lived Workflows
    2. Persistence and Bookmarks
    3. Persistence Store in SQL Server
    4. PersistableIdle Event
    5. Unloading and Loading
    6. Serializing Instance Identification
  10. Workflow Services
    1. What is WCF?
    2. Address, Binding and Contract
    3. Workflow Services
    4. Messaging Activities
    5. Exposing a Workflow as a Service
    6. Calling a Service from a Workflow
    7. Multiple Operations
  11. Debugging and Error Handling
    1. Breakpoints in Activities
    2. Handling Exceptions in the Host
    3. Handling Exceptions in the Workflow
    4. Transactions
    5. Compensation
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this C# class:

  • Programming experience in C# and the .NET Framework.
  • Familiarity with the Visual Studio development environment. .

Training for Yourself

$2,300.00 or 4 vouchers

Upcoming Live Online Classes

  • See More Classes

Please select a class.

Training for your Team

Length: 4 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

What people say about our training

The Webucator course on Windows Workflow Foundation met all of my expectations and will enable me to be a more effective programmer. Thanks!
Kenneth Lynch
Ricoh Americas Corporation
Paul Kirsch
Sargent and Lundy
My teacher was knowledgeable, understanding and patient, which made my learning experience enjoyable!
Jennifer Covarrubias
Radiology Associates of San Luis Obispo
The workbook and slides are very helpful and the instructor did a great job.
Holly Beal

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing


Students who have taken Instructor-led Training


Organizations who trust Webucator for their Instructor-led training needs


Satisfaction guarantee and retake option


Students rated our Windows Workflow Foundation Using C# trainers 10.00 out of 10 based on 4 reviews

Contact Us or call 1-877-932-8228