Book 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 4's new designer, it's 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 you'll 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
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- CHAPTER 1: A Quick Tour of Windows Workflow Foundation
- CHAPTER 2: Foundation Overview
- CHAPTER 3: Activities
-
CHAPTER 4: Workflow Hosting
- Understanding the WorkflowInvoker Class
- Using the WorkflowInvoker Static Methods
- Using the WorkflowInvoker Instance Methods
- Understand the WorkflowApplication Class
- Using the WorkflowApplication Class
- Understanding the ActivityXamlServices Class
- Using the ActivityXamlServices Class
- Invoke Workflows from ASP.NET
- Managing Multiple Workflow Instances
- Summary
- CHAPTER 5: Procedural Flow Control
- CHAPTER 6: Collection-Related Activities
- CHAPTER 7: Flowchart Modeling Style
- CHAPTER 8: Host Communication
- CHAPTER 9: Workflow Services
- CHAPTER 10: Workflow Services Advanced Topics
-
CHAPTER 11: Workflow Persistence
- The Need for Workflow Persistence
- Understanding Workflow Persistence
- Understanding WorkflowApplication Persistence
- Understanding the SqlWorkflowInstanceStore
- Using the SqlWorkflowInstanceStore with WorkflowApplication
- Understanding WorkflowServiceHost Persistence
- Using the SqlWorkflowInstanceStore with WorkflowServiceHost
- Summary
- CHAPTER 12: Customizing Workflow Persistence
-
CHAPTER 13: Transactions, Compensation, and Exception Handling
- Understanding Default Exception Handling
- Implementing the Example Workflow
- Understanding the TryCatch Activity
- Using the TryCatch Activity
- Understanding the TransactionScope Activity
- Using the TransactionScope Activity
- Using a Host Transaction
- Understanding Compensation
- Using the CompensableActivity
- Manually Triggering Compensation
- Understanding the CancellationScope Activity
- Summary
- CHAPTER 14: Workflow Tracking
-
CHAPTER 15: Enhancing the Design Experience
- Understanding Activity Designers
- Supporting Activity Properties
- Supporting Expanded and Collapsed Modes
- Supporting a Single Child Activity
- Supporting Multiple Child Activities
- Supporting the ActivityAction Activity
- Understanding Validation
- Using Validation Attributes
- Adding Validation in Code
- Using Constraints for Validation
- Manually Executing Validation
- Implementing Activity Templates
- Summary
- CHAPTER 16: Advanced Custom Activities
-
CHAPTER 17: Hosting the Workflow Designer
- Understanding the Workflow Designer Components
- Implementing a Simple Workflow Designer
- Executing the Workflow
- Loading and Saving the Definition
- Displaying Validation Errors
- Adding Activities to the Toolbox
- Providing Designer Metadata
- Tracking the Selected Activity
- Modifying the Context Menu
- Locating the Arguments
- Summary
- CHAPTER 18: WF 3.x Interop and Migration
- APPENDIX A: Glossary
- APPENDIX B: Comparing WF 3.x to WF 4
- Index
Product information
- Title: Pro WF: Windows Workflow in .NET 4
- Author(s):
- Release date: June 2010
- Publisher(s): Apress
- ISBN: 9781430227212
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
High-Performance Programming in C# and .NET
Enhance your applications' performance using best practices for benchmarking, application profiling, asynchronous programming, designing responsive UIs, …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Practical Process Automation
In today's IT architectures, microservices and serverless functions play increasingly important roles in process automation. But …