did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780672328480

Presenting Windows Workflow Foundation

by ; ; ; ; ; ; ; ;
  • ISBN13:

    9780672328480

  • ISBN10:

    0672328488

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2006-01-01
  • Publisher: Sams
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $29.99

Summary

Presenting Windows Workflow Foundationis a premium reference that provides information on a key part of WinFX, providing universally accessible and consistent workflow technology for the Windows platform. Windows Workflow Foundation delivers an API as part of WinFX and a workflow designer hosted in Visual Studio 2005. The Windows Workflow Foundation supports development of both sequential and state-based workflow involving both human and system interaction. Sequential workflow is a map of activities that may be in series or parallel. State-based workflow is a state machine where events cause transitions. Rules can be specified that drive decision making in a workflow and can be updated easily at runtime. Workflow can be created as a model and executed inside many host applications including Windows Forms, console applications, or Web applications. Key Scenarios that can be developed with Windows Workflow Foundation include: Document management: The steps involved in the review and approval of shared documents or other content. Line of business application: The processing flow or business logic in an extensible part of the application. Website page flow: The flow of state variables between web pages. IT management: Handling of common systems management processes. Decision making logic: Where complex business logic is well described by a sequential or state diagram. Consumer: A common series of steps for consumer PC usage. Download the source code from the book at www.samspublishing.com

Author Biography

Paul Andrew is the technical product manager for Windows Workflow Foundation James Conard is an architect evangelist with Microsoft's Developer & Platform Evangelism group. James is responsible for driving the early adoption of Windows Workflow Foundation with key ISVs and customers Scott Woodgate is a group product manager responsible for technical product planning and worldwide readiness of BizTalk Server and Windows Workflow Foundation Jon Flanders is an industry-leading author and instructor of in-depth developer training materials at DevelopMentor George Hatoun is a program manager for Workflow in Microsoft Office Israel Hilerio is a program manager in the Windows Workflow Foundation team in charge of forms integration and designer re-hosting Pravin Indurkar is a program manager on the Windows Workflow Foundation team and is responsible for the state machine workflows in Windows Workflow Foundation Dennis Pilarinos is a technical program manager on the Windows Workflow Foundation team Jurgen Willis is a program manager with the Windows Workflow Foundation team

Table of Contents

Introductionp. 1
Workflow, Tomorrow's Application Logicp. 3
The Wonder of Flowchartsp. 3
Today's Workflow Scenariosp. 5
Introducing Windows Workflow Foundationp. 6
Windows Workflow Foundation Engine Architecturep. 7
Hosting Layerp. 8
Runtime Layerp. 10
Workflow Model Layerp. 10
Design-timep. 13
Office 12 Workflowp. 19
Call to Action: Core Workflow Tenetsp. 20
Summaryp. 22
Developing Your First Workflowp. 25
Architecture Reviewp. 26
What You Needp. 26
Your First Console Workflow Applicationp. 26
Workflow Console Applicationp. 27
Adding Input and Output to a Console Applicationp. 30
Describing the Existing Console Hostp. 31
Adding the Parametersp. 32
Windows Forms Applicationp. 34
The Windows Forms Applicationp. 34
The Sample Solutionp. 36
Inside the Windows Form Classp. 36
Inside the Workflow Classp. 38
The Workflow Designp. 39
More on the Workflow Designp. 40
Running the Applicationp. 42
Summaryp. 43
March Through the Activitiesp. 45
Table of Activitiesp. 45
Container for Activitiesp. 46
Conditionsp. 47
Declarative Conditionp. 47
Control Flow Activitiesp. 48
Sequence Activityp. 48
Parallel Activityp. 49
IfElse Activityp. 50
While Activityp. 50
ConditionedActivityGroup Activityp. 53
Replicator Activityp. 54
Delay Activityp. 54
Workflow Lifetime Activitiesp. 55
InvokeWorkflow Activityp. 55
Suspend Activityp. 55
Terminate Activityp. 56
Event Waiting Activitiesp. 56
EventDriven Activityp. 56
Listen Activityp. 57
Transaction and Exception Activitiesp. 58
TransactionalContext Activityp. 58
Throw Activityp. 59
ExceptionHandler Activityp. 60
Compensate Activityp. 60
Data-Centric Activitiesp. 62
Web Services Activitiesp. 62
The Code Activityp. 63
State Workflow Activitiesp. 63
State Activityp. 63
StateInitialization Activityp. 64
SetState Activityp. 64
Custom Activitiesp. 64
InvokeMethod Activity in Communications Libraryp. 64
EventSink in Communications Library Activityp. 64
Composite Activity in Activity Libraryp. 65
Coded Activity in Activity Libraryp. 65
Summaryp. 65
Workflow in Microsoft Office Systemsp. 67
Key Vision Elementsp. 67
A Workflow Engine for Officep. 68
Where Humans Meet Workflow-The Office Workflow Experiencep. 68
Workflow Actorsp. 68
Workflow User Experiencep. 70
Out-of-the-Box Office Workflowsp. 82
Windows Workflow Foundation Integrationp. 82
Topology and Persistencep. 82
Workflow Dehydration Modelp. 83
Event Deliveryp. 84
The Workflow Timer Providerp. 84
Object Model and Web Servicesp. 84
History and Reportingp. 84
Designing Workflows for Officep. 85
Workflow Model and Forms Authoringp. 85
Office Activitiesp. 85
Metadata, Packaging, and Deploymentp. 86
Summaryp. 87
Workflow Integration with Data Activitiesp. 89
What You Needp. 89
Workflow Integration with XML Documents at a Glancep. 89
What Are Data Activities?p. 90
Why Data Activities?p. 90
Data Activities Typesp. 91
Data Sourcesp. 94
DataSourceServicep. 96
Data Exchangesp. 97
InfoPath Data Exchange Applicationp. 99
Summaryp. 118
Using Web Servicesp. 119
Using Web Services with Windows Workflow Foundationp. 119
Calling a Web Servicep. 119
Calling a Web Service from a Workflowp. 120
Using Web Services: An Examplep. 121
Sessionsp. 126
Adding the Web Reference Manuallyp. 127
Exposing a Workflow via a Web Servicep. 127
Hooking Up the Workflow-generated WebServicep. 132
State Machine Workflows and Web Servicesp. 135
Summaryp. 135
Developing Activitiesp. 137
Activity Component Modelp. 137
Anatomy of an Activityp. 138
Activity Definitionp. 139
Component Referencesp. 140
Activity Executorp. 141
Activity Validatorp. 143
Activity Designerp. 145
Activity Toolbox Itemp. 152
Summaryp. 152
Advanced Activities and Activity Behaviorsp. 153
Replicatorp. 153
Replicator Overviewp. 154
Replicator Examplep. 154
Additional Replicator Topicsp. 157
Conditioned Activity Group (CAG)p. 157
CAG Overviewp. 157
CAG Examplesp. 159
Policyp. 163
Policy Overviewp. 164
Policy Examplep. 164
Additional Policy Topicsp. 168
Advanced Activity Behaviorsp. 171
Transactionsp. 173
Compensationp. 175
Exception Handlingp. 176
Event Handlingp. 177
Synchronizationp. 177
Activity Behaviors Examplep. 179
Summaryp. 182
Workflow Communications with .NETp. 183
What You Needp. 183
Workflow Communications at a Glancep. 183
Local Communication Services Overviewp. 184
Why Local Services?p. 184
Data Activities Versus Local Servicesp. 185
Local Service Interfacep. 186
Defining Correlation Valuesp. 188
WorkflowMessageEventArgsp. 189
InvokeMethodActivityp. 190
EventSinkActivityp. 193
Service Request Form Applicationp. 197
Summaryp. 204
State Machine Workflowp. 205
The Business Process Landscapep. 205
State Machine Workflows: A New Way of Creating Business Applicationsp. 206
Structure of the State Machine Workflowsp. 209
A Simple State Machine Workflowp. 210
The State Machine Workflow Root Activityp. 216
The State Activityp. 217
The Event-Driven Activity in a State Machine Workflowp. 220
Transitions from One State to Another-The Set State Activityp. 222
Recursive Composition of State Activitiesp. 223
Dynamic Update in State Machine Workflowsp. 225
Skip and Rework Patterns in State Machine Workflowsp. 226
Summaryp. 228
Hosting Workflows in Your Applicationp. 229
Runtime Architecturep. 229
Workflow Runtime APIsp. 231
Building a Workflow Hostp. 232
Getting Started with the WorkflowRuntime Classp. 232
Starting Workflowsp. 234
Workflow Lifecycle and Eventsp. 236
Controlling Workflow Instancesp. 239
Runtime Servicesp. 241
Using Runtime Servicesp. 243
Using Persistence with the SqlStatePersistanceServicep. 244
Using the SqlStatePersistenceServicep. 245
Load and Unload Workflow Instancesp. 247
Using Tracking with the SqlTrackingServicep. 248
Using the SqlTrackingServicep. 249
Viewing Workflow Tracking Datap. 250
Viewing Tracking Data with WorkflowMonitorp. 251
Tracking Profilesp. 252
Creating a Custom Runtime Servicep. 257
Developing the Console Tracking Servicep. 258
Testing the Console Tracking Servicep. 263
Summaryp. 264
Dynamic Update of Workflowp. 265
Modifying a Workflow Instancep. 266
Modifying a Workflow from the Insidep. 266
Warning-Existing Activities Not Modifiablep. 270
Modifying a Workflow from the Outsidep. 272
Controlling Modifiabilityp. 275
Planning for Changes-Open-Pointsp. 277
Summaryp. 280
Indexp. 281
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Excerpts

= 0) {slash = '\\';} else {slash = '/';}openLoc = figLoc.substring(0, figLoc.lastIndexOf(slash) + 1);while (pPage.substring(0,3) == '../') {openLoc = openLoc.substring(0, openLoc.lastIndexOf(slash, openLoc.length - 2)+ 1);pPage = pPage.substring(3, pPage.length + 1);}popUpWin =window.open('','popWin','resizable=1,scrollbars=1,location=0,toolbar=0,width=525,height=394');figDoc = popUpWin.document;zhtm= ' ' + pPage + ' ';zhtm += ' ';zhtm += ' ';zhtm += ' ';zhtm += '' + pPage.substring(pPage.lastIndexOf('/') + 1, pPage.length) + '';zhtm += ' ';figDoc.write(zhtm);figDoc.close();}// modified 3.1.99 RWE v4.1 --> Introduction Introduction Windows Workflow Foundation was announced at the Professional Developers Confer-ence in 2005 and it will be released in mid-2006. This book is written for Beta 1 of the technology and as such it is possible that some parts of the book may be out of date when the technology is released. The book is intended to give you an introduction to Windows Workflow Foundation and you can read it chapter by chapter, or you can read the first three chapters as an introduction and then skip around to points of interest. You can read it offline (perhaps when you commute to work on the train) or you can work through the examples at your computer. To follow along trying out our examples, you will need Visual Studio 2005 Beta 2 and Windows Workflow Foundation SDK Beta 1. With or without a computer, you should have at least six months of .NET development experience. This book is not intended to be your reference guide as you develop an application using Windows Workflow Foundation so it doesn't comprehensively cover all the APIs. To find out more, please visit http://msdn.microsoft.com/workflow . There are nine authors on the book and they represent a combined experience of more than 30 years in Workflow and related technologies. I have the privilege of working with a very experienced and talented team. We are all very excited about bringing this state-of-the-art Workflow engine to the Windows platform. We hope that by using it you can find yourself new opportunities for building all kinds of interesting software. Someone once told me that Workflow is the happy state you get into when your work just flows. Read this book and perhaps you will agree. Paul Andrew Product Manager for Windows Workflow Foundation Microsoft Corporation Copyright Pearson Education. All rights reserved.

Rewards Program