售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#
Table of Contents
Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#
Credits
About the Author
About the Reviewer
Preface
What This Book Covers
What You Need for This Book
Conventions
Reader Feedback
Customer Support
Downloading the Example Code for the Book
Errata
Questions
1. Hello, Workflow
Building Workflow Solutions
A Windows Workflow Tour
Activities
Custom Activities
Visual Studio 2005 Extensions
Windows Workflow and XAML
WF Validation and Debugging
Designer Looks
The Windows Workflow Runtime
Hosting the Windows Workflow Runtime
Runtime Services
Scheduling Services
Transaction Services
Persistence Services
Tracking Services
Our First Workflow
Summary
2. Authoring Workflows
Pure Code
Pure Code and Visual Studio
Objects and Their Relationships
Pure XAML
Using Custom Activities in XAML
Compiling Workflows
Compiling with Wfc.exe
Compiling with WorkflowCompiler
Compilation with MSBuild
Code Generation and XAML Serialization
XAML Activation
XAML-only Summary
Code and XAML Together
Summary
3. Sequential Workflows
The SequenceActivity
Simple Flow
Sequences Inside Sequences
Workflows and the Outside World
Workflow Instance Lifetime Events
Workflow Parameters
Raising Events and Invoking Methods
Service Contracts
Service Implementation
Workflow Implementation
Host Implementation
Faults
Summary
4. The Base Activity Library
The Basics
The CodeActivity
The IfElseActivity
The WhileActivity
The SequenceActivity
The SuspendActivity
The TerminateActivity
The ThrowActivity
The InvokeWorkflowActivity
The ParallelActivity
The DelayActivity
The ListenActivity
The EventHandlingScopeActivity
The SynchronizationScopeActivity
The ReplicatorActivity
Local Communication Events
The CallExternalMethodActivity
The HandleExternalEventActivity
The Activity Generator
Fault Handling
The FaultHandlersActivity
The FaultHandlerActivity
Transactions and Compensation
The TransactionScopeActivity
Compensation
The CompensatableSequenceActivity
The CompensatableTransactionScopeActivity
The CompensateActivity
Conditions and Rules
The ConditionedActivityGroup
The PolicyActivity
Web Services
The InvokeWebServiceActivity
The WebServiceInputActivity
The WebServiceOutputActivity
The WebServiceFaultActivity
State Activities
The StateActivity
The StateInitializationActivity
The StateFinalizationActivity
The EventDrivenActivity
The SetStateActivity
Summary
5. Custom Activities
Why Would I Build Custom Activities?
Reusability
Extensibility
Domain-Specific Languages
How Do I Build Custom Activities?
Activity Composition
Opening a Black Box
Property Promotion
Composition Summary
Dependency Properties
Activity Binding
Attached Properties
Meta-Properties
Dependency Property Summary
Derivation
ConsoleWriteActivity
Activity Components
Activity Validators
Activity Designers
Activity Execution
Execution Context
Custom Composite Activities
Summary
6. Workflow Hosting
The Workflow Runtime
Workflow Runtime Logging
Workflow Runtime Configuration
Workflow Configuration Sections
Scheduling Services
Scheduling Services and Threads
Scheduling Services and Configuration
Scheduling Parameters
Choosing the Right Scheduling Service
Persistence Services
Persistence Classes
The SqlWorkflowPersistenceService
SQL Persistence Service Configuration
Running with Persistence
Persistence and Serialization
Tracking Services
Tracking Classes
Tracking Configuration
Running with Tracking
Tracking Profiles
Data Maintenance
Persistence and Tracking Together
Shared Connection Configuration
Summary
7. Event-Driven Workflows
What Is a State Machine?
State Machines in Windows Workflow
Our First State Machine
Creating the Project
Life of a Bug
The State Activity
The EventDriven Activity
The SetState Activity
The StateInitialization and StateFinalization Activities
Driving the State Machine
Inspecting State Machines
StateMachineWorkflowInstance
State Machine Tracking
Hierarchical State Machines
Summary
8. Communication in Workflows
Local Communication Services Redux
Correlation Parameters
Correlation Attributes
Correlation Parameter
Correlation Initializer
Correlation Alias
Correlation Tokens
Role‑Based Authorization
Roles and Activities
Workflow Queues
WorkflowQueue and WorkflowQueueInfo
Finding the Waiting Activity
Canceling a Waiting Activity
Communicating with Queues
Web Service Communication
Workflows as Web Services
WebServiceInput Activity
WebServiceOutput Activity
Publishing Web Service Workflows
Workflows as Web Service Clients
InvokeWebService Activity
Summary
9. Rules and Conditions
What are Rules and Conditions?
Working with Conditions
Code Conditions
Rule Conditions
The .rules File
Available Expressions
Rules and Activation
The Conditioned Activity Group
When to Use the CAG
Working with Rules
The Policy Activity
Creating a Policy Workflow
Evaluation
Priority
Rule Dependencies
Implicit Chaining
Chaining with Attributes
Explicit Chaining
Controlling Chaining
Chaining Behavior
Re-evaluation Behavior
Rules Engine Tracing and Tracking
Tracing Rules
Tracking Rules
Dynamic Updates
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜