Windows Workflow Foundation Using C#

Customized Onsite Training

  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors

Live Online Training

or 4 vouchers
  • Live Online Training
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

Upcoming Classes

  • See More Classes

Please select a class.

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. Primitive and control flow activities are discussed, and the alternatives to hosting workflows are covered. Collection and parallel activities are covered. The creation of custom activities, both using the designer and code, is explained. Flowchart and state machine activities are covered. Persistence and bookmarks are discussed. Workflow Services, using Windows Communication Foundation (WCF) is covered. The course concludes with a discussion of debugging, error handling, transactions and compensation.

Numerous programming examples and exercises are provided. The student will receive a complete set of notes and all the programming examples.

  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
    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. Hosting using WorkflowServiceHost
    8. 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. .
Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing


Students who have taken Live Online Training


Organizations who trust Webucator for their training needs


Satisfaction guarantee and retake option


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

Contact Us or call 1-877-932-8228