Microsoft Windows workflow foundation 4.0 cookbook : over 70 recipes with hands-on, ready-to-implement solutions for authoring workflows /

Saved in:
Bibliographic Details
Author / Creator:Zhu, Andrew.
Imprint:Birmingham [U.K.] : Packt Pub., 2010.
Description:1 online resource (iii, 255 pages) : color illustrations
Language:English
Subject:
Format: E-Resource Book
URL for this record:http://pi.lib.uchicago.edu/1001/cat/bib/11234502
Hidden Bibliographic Details
ISBN:9781849680790
1849680795
1849680787
9781849680783
9781849680783
Notes:Includes bibliographical references and index.
Print version record.
Summary:Annotation 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:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; Foreword; Table of Contents; Preface; Chapter 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 frameworkDebugging a WF program; Chapter 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 activity in Sequence workflow; Using the FlowSwitch activity; Using the Parallel activity; Using the ParallelForEach activity; Using the Pick activity; Handling errors; Chapter 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 workflowSending 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; Chapter 4: Manipulating Collections; Introduction; Printing collection items; Using AddToCollection activity; Using ClearCollection activity
  • Using RemoveFromCollection activityUsing ExistsInCollection activity; Chapter 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 theSendEmail activity; Creating an Activity Designer for theMySquence activity; Chapter 6: WF4 Extensions; Introduction; Configuring ETW tracking; Creating FileTrackingParticipant
  • Configuring the SQL persistence storeLoading a persisted workflow from the database; Using a persistence participant to persist additional data; Using a customized extension; Chapter 7: Hosting Workflow Applications; Introduction; Hosting a workflow service in IIS7; Hosting workflow in ASP.NET; Hosting workflow in WPF; Hosting workflow in a Windows Form; Chapter 8: Custom Workflow Designer; Introduction; Implementing designer layout; Implementing Toolbox, Workflow Designer, and Property Inspector views; Implementing New Workflow and Load Workflow events; Implementing Save and Save As events