: Bruce Bukovics
: Pro WF Windows Workflow in NET 3.5
: Apress
: 9781430209768
: 1
: CHF 42.70
:
: Informatik
: English
: 852
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

Windows Workflow Foundation is a groundbreaking addition to the core of the .NET 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 a workflow-based solution has never been more evident. WF provides a simple and consistent way to model and implement complex solutions. 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 3.5 provides you with the skills you need to incorporate WF into your applications. This book gets you up to speed with Windows Workflow Foundation quickly and comprehensively. The practical aspects of using WF are covered in a lively tutorial style with each workflow concept illustrated in C#. You'll find 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.

Pro WF: Windows Workflow in .NET 3.5 is written by an experienced Windows and .NET developer. Rather than simply duplicating the available references on the subject, authorBruce Bukovics leads you through a series of practical WF topics that enable you to gain immediate experience and learn how to use the technology as you progress through the book.



Bruce Bukovics has been a working developer for over 25 years. During this time, he has designed and developed applications in such widely varying areas as banking, corporate finance, credit card processing, payroll processing, and retail automation. He has firsthand developer experience with C, C++, Delphi, VB, C#, and Java, and he rode the waves of technology as they drifted from mainframe to client/server to n-Tier, from COM to COM+, and from Web Services to .NET Remoting and beyond. He considers himself a pragmatic programmer. He doesn't stand on formality and doesn't do things just because they have always been done that way. He's willing to look at alternate or unorthodox solutions to a problem if that's what it takes. He is employed at Radiant Systems, Inc., in Alpharetta, Georgia, as a lead developer and architect in the centralized development group.
Contents at a Glance5
Contents6
About the Author20
About the Technical Reviewers21
Acknowledgments22
Introduction23
Who Should Read This Book23
An Overview of This Book24
What You Need to Use This Book27
Obtaining This Book s Source Code27
How to Reach Me27
A Quick Tour of Windows Workflow Foundation28
Why Workflow?28
Your Development Environment30
Hello Workflow31
Passing Parameters39
Making Decisions42
Summary55
Foundation Overview56
Workflow Types56
Foundation Deliverables59
Runtime Environment62
Design-Time Environment73
Summary90
Activities91
Understanding Activities91
Exploring Standard Activities93
Standard Activities Summary103
Adding Workflow Logic104
Using the CodeActivity105
Developing Custom Activities119
Enhancing the Design Experience140
Summary154
Hosting the Workflow Runtime155
Overview of Hosting155
Simple Workflow Hosting156
Improved Workflow Hosting163
Controlling a Workflow Instance185
Synchronous Workflow Execution188
Summary191
Flow Control192
Condition Types192
Using the IfElseActivity193
Using the WhileActivity205
Using the ParallelActivity211
Using the ReplicatorActivity219
Using the ConditionedActivityGroup231
Using the InvokeWorkflowActivity237
Using the TerminateActivity238
Using the SuspendActivity239
Summary239
Local Services240
Understanding Local Services240
Implementing and Using a Local Service242
Loading from App. config250
Using a Custom Activity252
Using the CallExternalMethodActivity257
Summary260
Event-Driven Activities261
Using Event-Driven Activities261
Using the HandleExternalEventActivity263
Generating Communication Activities280
Manually Controlling Correlation282
Using the EventHandlingScopeActivity291
Developing Custom Event- Driven Activities302
Summary320
Workflow Persistence321
Understanding Persistence321
Using the SqlWorkflowPersistenceService324
Implementing a Custom Persistence Service343
Summary355
State Machine Workflows356
Understanding State Machine Workflows356
Implementing a State Machine Workflow361
Eliminating Duplicate Event Handlers383
Identifying Available Events385
Accessing Runtime Information388
Summary391
Transactions and Compensation392
Understanding Transactions392
Using the TransactionScopeActivity395
Understanding Compensation410
Using Compensatable Activities412
Participating in a Batch of Work432
Using the IPendingWork Interface432
Summary439
Workflow Rules440
Understanding Workflow Rules440
Using Rules in WF442
Defining Rules with a PolicyActivity450
Tracing Rules462
Adjusting Rule Sequence464
Using Methods Within Rules467
Executing a RuleSet in Code470
Constructing a RuleSet in Code473
Summary477
Exception and Error Handling479
Understanding Workflow Exception Handling479
Reviewing Default Behavior482
Using FaultHandlerActivity486
Containing the Exception491
Rethrowing an Exception493
<