Related Titles
- Full Description
-
Windows Workflow Foundation (WF) is a revolutionary part of the .NET 4 Framework that allows you to orchestrate human and system interactions as a series of workflows that can be easily mapped, analyzed, adjusted, and implemented. As business problems become more complex, the need for workflow-based solutions has never been more evident. WF provides a simple and consistent way to model and implement complex problems. As a developer, you focus on developing the business logic for individual workflow tasks. The runtime handles the execution of those tasks after they have been composed into a workflow.
Pro WF: Windows Workflow in .NET 4 provides you with the skills you need to incorporate WF in your applications, using a lively tutorial style with each example illustrated in C#. This book gets you up to speed with WF 4 quickly and comprehensively. Learn about WF 4s new designer, its updated programming paradigm, and the completely new set of activities that can enable and extend your workflows. This book also includes detailed coverage of how to customize your workflows and access them in a variety of ways and situations so you can maximize the advantages of this technology.
What youll learn
- WF 4 basics
- New activities and changes to existing activities in WF 4
- Customizing your workflows
- Accessing your workflows in a variety of ways in a variety of situations
- Using WF with Web Services and ASP.NET
- Integrating WCF and WF
Who this book is for
This book is for intermediate to advanced .NET developers who need to learn how to use the latest version of Windows Workflow Foundation (WF 4). This book is not a primer on .NET or the C# language. To get the most out of the examples presented in this book, it is necessary to have a good working knowledge of .NET 2.0 or higher. All of the examples are presented in C#.
- Table of Contents
-
Table of Contents
- A Quick Tour of Windows Workflow Foundation
- Foundation Overview
- Activities
- Workflow Hosting
- Procedural Flow Control
- Collection-Related Activities
- Flowchart Modeling Style
- Host Communication
- Workflow Services
- Workflow Services Advanced Topics
- Workflow Persistence
- Customizing Workflow Persistence
- Transactions, Compensation, and Exception Handling
- Workflow Tracking
- Enhancing the Design Experience
- Advanced Custom Activities
- Hosting the Workflow Designer
- WF 3.x Interop and Migration
- Source Code/Downloads
- Errata
-
If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.
On page 64:Second paragraph in the "Using and Expression Activity" section, "ExpressinoActivites" is missing the "i" for the suffix, "-ies"
On page 148:
About 2/3 down the page, the line
{"ArgNumberToEcho", 1001},
should be
{"ArgNumberToEcho", testNumber},
On page 253:
The first line in the NormalFreeTest function is
Activity activity = new CalcShippingFlowchart();
which is not needed, as "activity" is not used anywhere.
On page 256:
In the 3rd sentence of the paragraph "Creating the Console Project", the name of the file to delete should be "Workflow1.xaml" instead of "Flowchart1.xaml".
On page 257:
Under #3 The third sentence states "Set the generic type to ActivityLibrary.ItemSales". This should read "Set the generic type to ActivityLibrary.SalesHistory".
On page 309:There is a race condition in the example on page 309.
When the workflow starts, the first thing that happens is that the host gets notified of any waiting bookmarks. However, these bookmarks may not have been set because the Pick activity may not have started before the host is notified.
I put a Thread.Sleep inside the notification code but that is not a nice solution. Not sure how else to fix it, however.
On page 365:
For this chapter the method CreateServiceHost does not need to return a WorkflowServiceHost.
Or - better- it shouldnot add the WorkflowServiceHost to the list of WorkflowServiceHosts (this should be done in Main)









