Szczegóły ebooka

Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#

Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#

K. Scott Allen, Kenneth Scott Allen

Ebook
Windows Workflow Foundation (WF) is a technology for defining, executing, and managing workflows. It is part of the .NET Framework 3.0 and will be available natively in the Windows Vista operating system.
Windows Workflow Foundation might be the most significant piece of middleware to arrive on the Windows platform since COM+ and the Distributed Transaction Coordinator. The difference is, not every application needs a distributed transaction, but nearly every application does have a workflow encoded inside it.
In this book, K Scott Allen, author of renowned .NET articles at www.odetocode.com, provides you with all the information needed to develop successful products with Windows Workflow.
From the basics of how Windows Workflow can solve the difficult problems inherent in workflow solutions, through authoring workflows in code, learning about the base activity library in Windows Workflow and the different types of workflow provided, and on to building event-driven workflows using state machines, workflow communications, and finally rules and conditions in Windows Workflow, this book will give you the in-depth information you need. Throughout the book, an example bug reporting workflow system is developed, showcasing the technology and techniques used.
  • 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
        • RoleBased 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
  • Tytuł: Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#
  • Autor: K. Scott Allen, Kenneth Scott Allen
  • Tytuł oryginału: Programming Windows Workflow Foundation: Practical WF Techniques and Examples using XAML and C#.
  • ISBN: 9781847190154, 9781847190154
  • Data wydania: 2006-12-22
  • Format: Ebook
  • Identyfikator pozycji: e_3cku
  • Wydawca: Packt Publishing