Book description
Get the flexibility of Windows Workflow Foundation working for you. Based on a cookbook approach, this guide takes you through all the essential concepts with recipes you can apply or adapt to your own specific needs.
- Customize Windows Workflow 4.0 applications to suit your needs
- A hands-on guide with real-world illustrations, screenshots, and step-by-step instructions
- Explore various functions that you can perform using WF 4.0 with running code examples
- A hands-on guide with real-world illustrations, screenshots, and step-by-step instructions
In Detail
Windows Workflow Foundation 4.0 (WF) is a significant part of .NET Framework 4.0. WF makes workflow technology available to every single programmer that uses the .NET Framework 4.0. It is easy to create long running and distributed programs using WF with the right knowledge. With this book, you will discover that working with workflows is easy.
This book provides both step-by-step recipes and relevant background information. It covers all the important aspects of Windows Workflow Foundation 4.0. The best thing about this book is that all recipes are based on real-world experiences of Andrew Zhu. Andrew is a global WF and BizTalk technology support engineer for Microsoft. This book covers everything you need to know, when working with workflows. Get to grips with flow control activities, messaging, and transaction processes with easy to understand steps followed by explanations. You will quickly learn to use collection and custom WF activities and WF services.
You will see recipes that illustrate integration of Windows Workflow with other applications such as WPF, ASP.NET, WCF service.Lastly, you will discover how easily you can customize W4 Designer with WF rule engine and others.
A fast-paced handbook with all that you wanted to know about working with workflows
Table of contents
-
Microsoft Windows Workflow Foundation 4.0 Cookbook
- Table of Contents
- Microsoft Windows Workflow Foundation 4.0 Cookbook
- Credits
- About the Author
- About the Reviewers
- Foreword
- Preface
-
1. Workflow Program
- Introduction
- Creating the first WF program: HelloWorkflow
- Creating a WF program using C# Code
- Initializing a WF program using InArguments
- Creating a WF program using OutArgument
- Creating a WF program using InOutArgument
- Using Variable in a WF program
- Running a WF program asynchronously
- Customizing a MyReadLine activity with Bookmark
- Converting a WF program instance to XAML
- Loading up a WF program from an XAML file
- Testing a WF program with a unit test framework
- Debugging a WF program
-
2. Built-in Flow Control Activities
- Introduction
- Using the Foreach activity
- A number guessing game in Sequence
- A number guessing game using a flowchart
- Using the InvokeMethod activity
- Using the Switch<T> activity in Sequence workflow
- Using the FlowSwitch<T> activity
- Using the Parallel activity
- Using the ParallelForEach<T> activity
- Using the Pick activity
- Handling errors
-
3. Messaging and Transaction
- Introduction
- Creating a pure WCF service
- Receiving and replying to a WCF message
- Receiving and replying to a WCF message in code workflow
- Sending and receiving a reply to a WCF message
- Sending and receiving a reply to a WCF message in code workflow
- Using CancellationScope activity
- Performing a transaction by using TransactionScope activity
- Performing compensation by using Compensable activity
- Performing manual compensation by using Compensate activity
- Performing confirmation by using Confirm activity
- 4. Manipulating Collections
-
5. Custom Activities
- Introduction
- Creating an activity by inheriting the root activity
- Creating a FileWriter activity
- Creating a SendEmail activity
- Creating an Input Message activity using Bookmark
- Creating an Asynchronous HTTP Get activity
- Creating a Composite activity
- Creating an Activity Designer for the SendEmail activity
- Creating an Activity Designer for theMySquence activity
- 6. WF4 Extensions
- 7. Hosting Workflow Applications
- 8. Custom Workflow Designer
- Index
Product information
- Title: Microsoft Windows Workflow Foundation 4.0 Cookbook
- Author(s):
- Release date: September 2010
- Publisher(s): Packt Publishing
- ISBN: 9781849680783
You might also like
book
Essential Windows Workflow Foundation
“Something big is about to happen….”–From the Foreword by Don Box, Architect, Microsoft Corporation “If I …
book
Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications
Over 85 easy recipes for managing communication between applications Master WCF concepts and implement them in …
video
Developing Applications with Windows Workflow Foundation
For all developers who want to leverage the power of Windows Workflow Foundation in their own …
book
Microsoft® Windows® Workflow Foundation Step by Step
Get hands-on guidance for using Microsoft Windows Workflow Foundation to create process-managed applications for Microsoft Windows—one …