Overview:
This two-day instructor-led course will provide you with the knowledge and skills to build and configure a Windows Workflow Foundation (WF) solution.
Learning Method:
This course will be presented using a combination of lectures, group discussions and practical exercises. Each student will be provided with a comprehensive set of course notes. This hands-on course combines exercises and practical work to solidify your learning.
Who will benefit from this course?
This course is designed for application developers who know how to create applications in Visual Studio 2005 or 2008. The course does not require previous experience creating workflow-based solutions.
Pre-requisites:
Before attending this course, you should have experience developing applications in .NET in either BV or C#
What can you expect to gain from this course?
After completing this course, you will be able to:
- explain Windows Workflow Foundation concepts and features
- create sequential workflows
- create state machine workflows
- modify workflows at run time
- implement conditional branching in a workflow
- define and execute rule sets
- forward chain rules
- change rules at run time
- call methods on the host process
- handle events from the host process
- consume services from a workflow
- publish a workflow as a service
- create a custom activity
- create a custom composite activity
- define custom activity layout
- customize activity serialization
- create a custom runtime service
- hydrate and dehydrate workflows
- monitor workflows
- track workflows
- handle faults in a workflow
- handle cancellations in a workflow
- create and manage transactions in a workflow
- create and handle compensations
Course Content:
Module 1:Creating and Hosting Workflows
- This module explains how to create and host Windows Workflow Foundation (WF) workflows.
- Overview of Windows Workflow Foundation
- Creating Sequential Workflows
- Creating State Machine Workflows
- Modifying Workflows at Runtime
- Exercise: Creating and Hosting Workflows
- Creating and hosting a simple sequential workflow
- Passing parameters into a workflow
- Creating a state machine workflow
- Hosting the state machine workflow
Module 2:Applying Conditions and Rules
- This module explains how to apply conditions and rules in a workflow.
- Implementing Flow Control
- Defining and Executing Rule Sets
- Forward Chaining of Rules
- Changing Rules at Run Time
- Exercise: Applying Conditions and Rules
- Making Decisions
- Performing Iteration
- Defining Policies
Module 3:Communicating with Workflows
- This module explains how to communicate between workflows, host processes, and services.
- Calling Methods on the Host Process
- Handling Events from the Host Process
- Consuming Services from a Workflow
- Publishing a Workflow as a Service
- Exercise: Communicating with Workflows
- Invoking a Method on the Host Process
- Handling Events from the Host Process
- Consuming Services from a Workflow
- Publishing a Workflow as a Service
Module 4:Creating and Configuring Custom Activities
- This module explains how to create and configure custom activities.
- Creating Custom Activities
- Creating Custom Composite Activities
- Customizing Activity Serialization
- Defining Custom Activity Layout
- Exercise: Creating and Configuring Custom Activities
- Creating a Custom Activity
- Validating a Custom Activity
- Developing a Custom Activity Designer
- Creating a Custom Composite Activity
Module 5:Creating and Managing Runtime Services
- This module explains how to create and manage runtime services.
- Creating a Custom Runtime Service
- Hydrating and Dehydrating Workflows
- Monitoring Workflows
- Tracking Workflows
- Exercise: Creating and Managing Runtime Services
- Creating a Custom Runtime Service
- Hydrating and Dehydrating Workflows
- Monitoring Workflows
- Tracking Workflows
Module 6:Managing Faults, Cancellations, Transactions, and Compensations
- This module explains how to manage faults, cancellations, transactions, and compensations in a workflow.
- Handling Faults
- Handling Cancellations
- Creating and Managing Transactions
- Creating and Handling Compensations
- Exercise: Managing Faults, Transactions, and Compensations
- Handling Faults
- Implementing Transactional Behaviour
- Implementing Compensation Behaviour