Microsoft Windows Workflow Foundation 4.0 Cookbook
eBook - ePub

Microsoft Windows Workflow Foundation 4.0 Cookbook

  1. 255 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Microsoft Windows Workflow Foundation 4.0 Cookbook

Book details
Book preview
Table of contents
Citations

About This Book

In Detail

Windows Workflow Foundation 4.0 (WF) is a significant part of .NET Framework 4.0. WF makes workflow technology available to every single programmer that uses the .NET Framework 4.0. It is easy to create long running and distributed programs using WF with the right knowledge. With this book, you will discover that working with workflows is easy.

This book provides both step-by-step recipes and relevant background information. It covers all the important aspects of Windows Workflow Foundation 4.0. The best thing about this book is that all recipes are based on real-world experiences of Andrew Zhu. Andrew is a global WF and BizTalk technology support engineer for Microsoft. This book covers everything you need to know, when working with workflows. Get to grips with flow control activities, messaging, and transaction processes with easy to understand steps followed by explanations. You will quickly learn to use collection and custom WF activities and WF services.

You will see recipes that illustrate integration of Windows Workflow with other applications such as WPF, ASP.NET, WCF service.Lastly, you will discover how easily you can customize W4 Designer with WF rule engine and others.

A fast-paced handbook with all that you wanted to know about working with workflows

Approach

This is a fast-paced and to-the-point handbook, it takes you through the important aspects that you need to know when working with Windows WF. The range of topics that we cover in this book is driven by what the working developer needs to know. It is neither a comprehensive reference to the whole WF architecture, nor a strategic guide to the complete application development lifecycle.

Who this book is for

If you find yourself working with Windows Workflow Foundation 4.0 and you have basic knowledge of C#/.NET Framework/ VB and workflow, this book is for you. It will be best if you know both C# and VB, because WF 4.0 expression can only be written in VB (at the time of writing). With this book, you will be able to enhance your applications with flexible workflow capabilities using WF 4.0. To follow the recipes, you will need to be comfortable with .NET Framework, C# programming, basics of SOA, and how to develop them.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Microsoft Windows Workflow Foundation 4.0 Cookbook by Andrew Zhu in PDF and/or ePUB format, as well as other popular books in Computer Science & Microsoft Programming. We have over one million books available in our catalogue for you to explore.

Information

Year
2010
ISBN
9781849680783
Edition
1

Microsoft Windows Workflow Foundation 4.0 Cookbook


Table of Contents

Microsoft Windows Workflow Foundation 4.0 Cookbook
Credits
About the Author
About the Reviewers
Foreword
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Workflow Program
Introduction
Creating the first WF program: HelloWorkflow
How to do it...
How it works...
There's more...
Creating a WF program using C# Code
How to do it...
How it works...
There's more
Initializing a WF program using InArguments
How to do it...
How it works...
There's more
Creating a WF program using OutArgument
How to do it...
How it works...
There's more...
Creating a WF program using InOutArgument
How to do it…
How it works...
There's more...
See Also
Using Variable in a WF program
How to do it...
How it works...
There's more...
See Also
Running a WF program asynchronously
How to do it...
How it works...
Customizing a MyReadLine activity with Bookmark
How to do it...
How it works...
Converting a WF program instance to XAML
How to do it...
How it works...
Loading up a WF program from an XAML file
How to do it...
How it works...
Testing a WF program with a unit test framework
How to do it...
How it works...
There's more...
Debugging a WF program
How to do it...
There's more...
2. Built-in Flow Control Activities
Introduction
Using the Foreach activity
How to do it...
How it works...
There's more...
A number guessing game in Sequence
How to do it...
How it works...
A number guessing game using a flowchart
How to do it...
How it works...
There's more
Using the InvokeMethod activity
How to do it...
How it works...
There's more
Using the Switch<T> activity in Sequence workflow
How to do it...
How it works...
There's more
Using the FlowSwitch<T> activity
How to do it...
How it works
See Also
Using the Parallel activity
How to do it...
How it works...
Using the ParallelForEach<T> activity
How to do it...
How it works...
Using the Pick activity
How to do it...
How it works...
There's more
Handling errors
How to do it...
How it works...
3. Messaging and Transaction
Introduction
Creating a pure WCF service
How to do it...
How it works...
There's more
Receiving and replying to a WCF message
How to do it...
How it works...
Receiving and replying to a WCF message in code workflow
How to do it...
How it works...
Sending and receiving a reply to a WCF message
Getting ready
How to do it...
How it works...
There's more
Sending and receiving a reply to a WCF message in code workflow
Getting ready
How to do it...
How it works...
Using CancellationScope activity
How to do it...
How it works...
There's more
Performing a transaction by using TransactionScope activity
How to do it...
How it works...
There's more
Performing compensation by using Compensable activity
How to do it...
How it works...
Performing manual compensation by using Compensate activity
How to do it...
How it works...
Performing confirmation by using Confirm activity
How to do it...
How it works...
4. Manipulating Collections
Introduction
Printing collection items
How to do it
How it works...
There's more
Using AddToCollection<T> activity
Getting ready...
How to do it...
How it works...
There's more
Using ClearCollection<T> activity
Getting ready
How to do it...
How it works...
There's more
Using RemoveFromCollection<T> activity
Getting ready
How to do it...
How it works...
There's more
Using ExistsInCollection<T> activity
Getting ready
How to do it...
How it works...
There's more
5. Custom Activities
Introduction
Creating an activity by inheriting the root activity
How to do it...
How it works...
There's more
Creating a FileWriter activity
How to do it...
How it works...
There's more
Creating a SendEmail activity
How to do it...
How it works...
Creating an Input Message activity using Bookmark
How to do it...
How it works...
Creating an Asynchronous HTTP Get activity
How to do it...
How it works...
Creating a Composite activity
How to do it...
How it works...
Creating an Activity Designer for the SendEmail activity
How to do it...
How it works...
Creating an Activity Designer for theMySquence activity
How to ...

Table of contents

  1. Microsoft Windows Workflow Foundation 4.0 Cookbook