Skip to Main Content
Professional Visual Studio® 2008
book

Professional Visual Studio® 2008

by Nick Randolph, David Gardner
July 2008
Intermediate to advanced content levelIntermediate to advanced
1026 pages
27h 59m
English
Wrox
Content preview from Professional Visual Studio® 2008

36.2. Windows Workflow Foundation

Over time, organizations try to keep improving their internal processes for menial tasks such as expense reporting and timesheeting. This results in their defining a series of steps, or activities, that make up a process, or workflow. The Windows Workflow Foundation (WF) builds on this concept to allow the rapid development of such workflows. Although it has been built as an engine on which developers can build their own applications, there are already commercial products, such as Sharepoint, that make use of this engine to allow non-developers to build business workflows.

Again, we will not go into much detail about WF itself, instead providing a walkthrough of how you can get started with building a workflow application using Visual Studio 2008 and linking it with the WCF service you have just created. In this example, we will start by adding a new project based on the Sequential Workflow Console Application. As you can see in Figure 36-9, you have a number of different WF project types to choose from depending on whether you want a sequential or a state machine workflow, and whether you want a console application or workflow library. In this case we want a sequential workflow because we want a workflow that has a start, goes through a series of activities, and then ends, and we want a console application so that we don't have to worry about hosting the workflow. The console application template contains the necessary code to host the workflow, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional Visual Studio® 2010

Professional Visual Studio® 2010

Nick Randolph, David Gardner, Michael Minutillo, Chris Anderson

Publisher Resources

ISBN: 9780470229880Purchase book