Developing Applications with Windows Workflow Foundation (WF) (Video Training)

by
Edition: 1st
Format: Paperback
Pub. Date: 2007-06-07
Publisher(s): Addison-Wesley Professional
Availability: This title is currently not available.
List Price: $149.99

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

Summary

The complete video training kit for developers who want to apply the power of Windows Workflow Foundation in their own apps.

Author Biography

Brian Noyes is a software architect, trainer, writer, and speaker with IDesign (www.idesign.net), a premier .NET consulting and training company. He has been developing software systems for more than fifteen years, speaks at many major software conferences around the world, and writes for a variety of software journals and magazines. He is the author of Data Binding with Windows Forms 2.0 and Smart Client Deployment with ClickOnce (both from Addison-Wesley).

Table of Contents

Prefacep. ix
Windows Workflow Foundation Overviewp. 1
WF Packagingp. 1
Workflow Typesp. 2
The Base Activity Libraryp. 3
WF Design Processp. 4
WF Architecture and Servicesp. 5
WF Capabilitiesp. 5
WF Layered Architecturep. 6
WF Servicesp. 6
WF Execution Modelp. 6
Dependency Propertiesp. 7
Visual Studio 2005 Project and Item Templatesp. 9
WF Project Templatesp. 9
WF Project Item Templatesp. 10
Code versus Code Separationp. 11
Sequential Workflow Basicsp. 13
Sequential Workflow Designerp. 13
Sequential Workflow Executionp. 14
State Machine Workflow Basicsp. 17
State Machine Workflow Designerp. 17
Hierarchical Navigation in a State Machinep. 17
State Machine Workflow Executionp. 19
Base Activities 1p. 21
Code Activityp. 21
IfElse Activityp. 21
Conditionsp. 22
While Activityp. 24
Base Activities 2p. 25
Delay Activityp. 25
Sequence Activityp. 25
Parallel Activityp. 26
Invoke Workflow Activityp. 26
Concurrency in Workflowsp. 27
Base Activities 3p. 29
Listen Activityp. 29
Conditioned Activity Group Activityp. 29
Replicator Activityp. 30
Policy Activityp. 31
Integrating WF into Applicationsp. 33
Hosting the Workflow Runtimep. 33
Creating a Workflow Instancep. 33
Getting a Workflow Instance for a Running Workflowp. 34
Host Application Requirements for WFp. 34
Handling Workflow Lifecycle Eventsp. 34
Enabling Persistence and Trackingp. 35
Creating the Persistence and Tracking Databasesp. 35
Adding Persistence through Codep. 35
Adding Tracking through Codep. 36
Adding Persistence or Tracking in the config Filep. 36
Runtime Effects of Persistencep. 37
Passing Parameters into and out of a Workflowp. 39
Defining Workflow Properties for Parametersp. 39
Passing Input Parametersp. 40
Getting Output Parametersp. 40
Calling into a Running Workflow from the Host Applicationp. 41
Host Communications Modelp. 41
Calling from a Workflow into the Host Applicationp. 45
Outgoing Calls Summaryp. 45
Web Service Calls out from a Workflowp. 47
Invoke Web Service Activity Overviewp. 47
Web Service Calls into a Workflowp. 49
Exposing Web Services from a Workflowp. 49
Host Site ASMX Filep. 50
Web.config Entriesp. 50
Exception Handlingp. 51
Fault Handling Scopes in Workflowsp. 51
Throw Activityp. 52
Using Transactions in Workflowsp. 53
Transactions in Workflowsp. 53
Atomic Transactionsp. 53
Long-Running Transactionsp. 54
Handling Events in Workflowsp. 55
Event Handling in Workflowsp. 55
Developing Custom Composite Activitiesp. 57
Creating Custom Composite Activitiesp. 57
Defining Dependency Properties for Data Bindingp. 58
Creating Custom Control Flowp. 58
Developing Custom Simple Activitiesp. 61
Creating Custom Simple Activitiesp. 61
Creating Custom Design-Time Support for Your Custom Activityp. 61
Table of Contents provided by Publisher. All Rights Reserved.

Excerpts

This LiveLesson is designed to expose you to all the key concepts, design-time steps, and coding techniques required to write applications that use Windows Workflow Foundation (WF) for implementing complex business process logic. It consists of 20 lessons of recorded video instruction that will lead you through performing the development tasks you need to know how to do to effectively use WF. The LiveLesson format is especially relevant for a technology like WF, because developing WF workflows is mostly done through interactive actions in the Visual Studio designer. Trying to capture those actions in text is possible, but you can learn the steps much faster by seeing them done in the Visual Studio environment by an instructor. Along with the demonstrations in the video, I explain the steps, why they are needed, what variations are available, and what is going on behind the scenes. Basically, through the LiveLesson videos, you get a compact training course that you can take with you anywhere. LiveLesson Structure Each LiveLesson follows the same basic structure. It starts with a brief video introduction describing the objectives of the lesson. It then transitions to a screen capture of my workstation, leading you through the steps required to perform and understand the objectives. Finally, it finishes with another brief video summarizing what was covered in the lesson. Because WF is a new technology, the first two lessons deviate from this format. They are conceptual and presented through a combination of slides and instructor discussion to get you up to speed on some of the most important concepts about WF as a technology before you dive into the steps to start building applications with it. The pace of the lessons is intentionally fast. Because the video delivery mechanism makes it easy for you to back up and review portions of the video, I tried to pack as much information into the lessons as possible. That means I don't spend any time after presenting lines of code or designer interaction steps to let you soak in what you just saw; I just move quickly to the next step. Of course, you can pause the video at these points and replay a section if you'd like to review the material. Code Samples The DVD contains all the completed code samples used in Lessons 6-20. Up through Lesson 5, no full samples were developed, so no code is included for those lessons. Who Should Use This Product The content of this video is designed for experienced .NET developers and architects who are new to Windows Workflow Foundation (WF) as a technology. I expect that you have had some exposure to the purpose of WF, have an idea of what it is for and how to get your hands on it, and are ready to start developing applications using the technology. However, I cover all the basics of WF, so I don't expect you to have any deep experience employing the technology. As a result, you could say this LiveLesson is a broad introductory course in WF for intermediate to advanced .NET developers. LiveLesson Outline The following are the 20 lessons in this LiveLesson. Lesson 1, Windows Workflow Foundation Overview,introduces the key concepts behind WF, including the tools you need, workflow types, the kinds of activities in the Base Activity Library, and the design process of WF applications. Lesson 2, WF Architecture and Services,covers the architecture and services in WF, as well as the dependency properties. Lesson 3, Visual Studio 2005 Project and Item Templates,describes the project types and project items that you can add for developing workflows and workflow applications. Lesson 4, Sequential Workflow Basics,introduces the basics of defining sequential workflows, including the designer experience for workflows in general. Lesson 5, State Machine Workflow Basics,covers the basics of defining state machi

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.