万本电子书0元读

万本电子书0元读

顶部广告

Programming Windows Workflow Foundation电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:K. Scott Allen

出  版  社:Packt Publishing

出版时间:2006-12-22

字       数:232.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Fast-paced and to-the-point, this book takes you through the important topics of Windows WF development with clear explanations and practical example code. The book's selection of topics is driven by what the working developer needs to know. It is neither a comprehensive reference to the whole WF architecture, nor a strategy guide to the complete application development lifecycle. It's just what you as a C# developer need to know to use WF in your applications. This book is for .NET developers who want to enhance their applications with flexible workflow capabilities using Microsoft Windows Workflow Foundation. The author assumes that you have read other texts on the overall architecture of WF and on WF application design strategies, and instead focuses on real-work implementation issues for C# developers.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部