๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Microsoft Windows Workflow Foundation 4.0 Cookbook

โœ Scribed by Andrew Zhu


Publisher
Packt Publishing
Year
2010
Tongue
English
Leaves
272
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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. 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.

โœฆ Table of Contents


Cover......Page 1
Copyright......Page 3
Credits......Page 4
About the Author......Page 5
About the Reviewers......Page 6
Foreword......Page 8
Table of Contents......Page 12
Preface......Page 16
Introduction......Page 20
Creating the first WF program: HelloWorkflow......Page 21
Creating a WF program using C# Code......Page 24
Initializing a WF program using InArguments......Page 26
Creating a WF program using OutArgument......Page 30
Creating a WF program using InOutArgument......Page 32
Using Variable in a WF program......Page 35
Running a WF program asynchronously......Page 37
Customizing a MyReadLine activity with Bookmark......Page 40
Converting a WF program instance to XAML......Page 44
Loading up a WF program from an XAML file......Page 46
Testing a WF program with a unit test framework......Page 49
Debugging a WF program......Page 51
Introduction......Page 56
Using the Foreach activity......Page 57
A number guessing game in Sequence......Page 62
A number guessing game using a flowchart......Page 64
Using the InvokeMethod activity......Page 67
Using the Switch activity in Sequence workflow......Page 78
Using the FlowSwitch activity......Page 82
Using the Parallel activity......Page 84
Using the ParallelForEach activity......Page 86
Using the Pick activity......Page 88
Handling errors......Page 93
Introduction......Page 96
Creating a pure WCF service......Page 97
Receiving and replying to a WCF message......Page 102
Receiving and replying to a WCF message
in code workflow......Page 107
Sending and receiving a reply to a
WCF message......Page 113
Sending and receiving a reply to a WCF
message in code workflow......Page 119
Using CancellationScope activity......Page 123
Performing a transaction by using
TransactionScope activity......Page 127
Performing compensation by using
Compensable activity......Page 132
Performing manual compensation by using Compensate activity......Page 135
Performing confirmation by using
Confirm activity......Page 137
Printing collection items......Page 140
Using AddToCollection activity......Page 145
Using ClearCollection activity......Page 148
Using RemoveFromCollection activity......Page 152
Using ExistsInCollection activity......Page 156
Introduction......Page 160
Creating an activity by inheriting the
root activity......Page 162
Creating a FileWriter activity......Page 165
Creating a SendEmail activity......Page 168
Creating an Input Message activity using
Bookmark......Page 171
Creating an Asynchronous HTTP Get activity......Page 173
Creating a Composite activity......Page 176
Creating an Activity Designer for the
SendEmail activity......Page 179
Creating an Activity Designer for the
MySquence activity......Page 185
Configuring ETW tracking......Page 190
Creating FileTrackingParticipant......Page 195
Configuring the SQL persistence store......Page 197
Loading a persisted workflow from the
database......Page 200
Using a persistence participant to persist
additional data......Page 204
Using a customized extension......Page 210
Introduction......Page 214
Hosting a workflow service in IIS7......Page 215
Hosting workflow in ASP.NET......Page 221
Hosting workflow in WPF......Page 227
Hosting workflow in a Windows Form......Page 231
Introduction......Page 234
Implementing designer layout......Page 235
Implementing Toolbox, Workflow Designer, and Property Inspector views......Page 239
Implementing New Workflow and Load
Workflow events......Page 242
Implementing Save and Save As events......Page 248
Implementing XAML Workflow Tab and
Run events......Page 250
Implementing visual tracking......Page 253
Index......Page 262


๐Ÿ“œ SIMILAR VOLUMES


Microsoft Windows Workflow Foundation 4.
โœ Andrew Zhu ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐ŸŒ English

Over 70 recipes with hands-on, ready to implement solutions for authoring workflows Customize Windows Workflow 4.0 applications to suit your needs A hands-on guide with real-world illustrations, screenshots, and step-by-step instructions Explore various functions that you can perform using

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› Packt Publishing ๐ŸŒ English

The recipes in this book are easy to understand and follow as the author discusses real-world scenarios. The range of topics covered in this book will bring out the forward-thinking WCF developer in you. It is not a comprehensive reference to the whole of WCF, but a practical guide that boosts profi

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› Packt Publishing ๐ŸŒ English

Over 85 easy recipes for managing communication between applications Master WCF concepts and implement them in real-world environments An example-packed guide with clear explanations and screenshots to enable communication between applications and services and make robust SOA applications Resol

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐ŸŒ English

The recipes in this book are easy to understand and follow as the author discusses real-world scenarios. The range of topics covered in this book will bring out the forward-thinking WCF developer in you. It is not a comprehensive reference to the whole of WCF, but a practical guide that boosts profi

Microsoft Windows Communication Foundati
โœ Steven Cheng ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› Packt Publishing ๐ŸŒ English

The recipes in this book are easy to understand and follow as the author discusses real-world scenarios. The range of topics covered in this book will bring out the forward-thinking WCF developer in you. It is not a comprehensive reference to the whole of WCF, but a practical guide that boosts profi