Apress

Beginning WF

Windows Workflow in .NET 4.0

By Mark Collins

Beginning WF Cover Image

Indexed by feature so you can find answers easily and written in an accessible style, Beginning WF shows how Microsoft's Workflow Foundation (WF) technology can be used in a wide variety of applications.

Full Description

  • ISBN13: 978-1-4302-2485-3
  • User Level: Beginner to Intermediate
  • Publication Date: March 18, 2010
  • Available eBook Formats: EPUB, PDF
  • Print Book Price: $49.99
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Windows Workflow Foundation is a ground-breaking 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 problems. 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.

Beginning WF demonstrates, in an eminently readable and accessible style, how Microsoft's Workflow Foundation (WF) technology can be used in a wide variety of applications.

  • Loaded with lots of simple yet demonstrative sample projects
  • Very hands-on with practical "how-to" information
  • Indexed by feature so specific questions are easily answered

What you’ll learn

Beginning WF will take you step by step through many of the useful applications of workflow technology. Along the way, you will:

  • Create designer-based and code-based workflows
  • Communicate between applications using workflow activities
  • Implement SQL persistence with custom participants
  • Create workflow extensions and custom activities
  • Build applications that support long-running workflows
  • Host workflows in WCF services

Who this book is for

This book is perfectly suited to anyone using or considering Microsoft's Windows Workflow Foundation. It describes what WF can do for you and how to quickly learn the basic concepts needed to be proficient. If you're actively implementing a workflow project, this book has lots of sample projects that demonstrate the most useful design patterns.

Table of Contents

Table of Contents

  1. Building a Simple Workflow
  2. Coded Workflows
  3. Flowchart Workflow
  4. Passing Arguments
  5. Replicated Activities
  6. Exception Handling
  7. Extending the Built-In Activities
  8. Send and Receive
  9. Communicating with the Host Application
  10. Web Services
  11. SQL Persistence
  12. Custom Extensions
  13. Tracking
  14. Transactions
  15. Transactions with Persistence
  16. WorkflowServiceHost
  17. Compensation, Confirmation, and Cancellation
  18. Collections
  19. Interoperability with Workflow 3.5
  20. Policy
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

If you think that you've found an error in this book, please let us know about it. You will find any confirmed erratum below, so you can check if your concern has already been addressed.

* Required Fields

On page 53:
<Switch.Default>
<p:Add x:TypeArguments="s:Decimal, s:Decimal, s:Decimal" DisplayName="Add 5" Left="[TotalAmount]" Result="[TotalAmount]" Right="[5.0D]" />
</Switch.Default>

Should be ....

<Switch.Default>
<Add x:TypeArguments="s:Decimal, s:Decimal, s:Decimal" DisplayName="Add 5" Left="[TotalAmount]" Result="[TotalAmount]" Right="[5.0D]" />
</Switch.Default>

On page 164:

The text just under figure 10-13 says "In the Properties window, for the ServiceContract property, ...". Where is the ServiceContract property for this and how do you get to the properties window?