Windows Workflow Foundation By Jayesh Chudasama

Working with Windows Workflow Foundation in ASP.NET
October 1, 2006, 3:17 pm
Filed under: Blogroll, Technical

Working with Windows workflow foundation in making more efficient web applications would be almost exciting every developer.

I found good articles & blogs on the same topic. Here is the list of source and excerpt from these fantastic articles.

Working with Windows Workflow Foundation in ASP.NET
By Todd Kitta

“One common way in which you might use Windows WF in an ASP.NET application is to implement a Model-View-Controller (MVC) approach.”

“Web page X should not need to know whether it needs to go to Page Y or Page Z to implement the workflow steps correctly. Instead, the workflow (the model) should tell ASP.NET (the controller) what the next step is, and then ASP.NET should determine which page (the view) to display. In this way, each page requires little knowledge of the overall process; it only needs to know how to complete one distinct activity and let the workflow worry about how the pages flow from one to the next. This separation provides developers with a great deal of flexibility related to the order of page flow.”


Windows Workflow Foundation ASP.Net State Machine

This article demonstrates you how to model an ASP.Net State Machine by visualizing through the concept of Connector, SnapShot and EventSink. Very good example of a Web Site Registration System is given to illustrate how to implement an ASP.Net based WF State Machine.

“State Machine does just one thing: waits for a specific set of events to arrive. When an event does arrive, State Machine will do some back-office processing and move to the next state to wait for another event.”

Using WF to run a page-flow
By Jon Flanders

While building this sample, Jon had two goals in mind.

1) The WF and the ASP.NET Pages should be unaware of each other. ASP.NET shouldn’t know it is being run by a workflow, and the workflow shouldn’t know it is being called from ASP.NET.

2) The ASP.NET model should be preserved. What I mean by this is that ASP.NET pages should be written using a control-based, data-bound methodology.

Download sample and Workflows

Nice article in MSDN Magazine that goes into great depth explaining how to use Windows Workflow from an ASP.NET application.

  • ASP.NET and Workflows
  • Consuming a Workflow in ASP.NET
  • Managing the Execution of the Workflow
  • Configuring ASP.NET Apps for Workflow
  • Calling Workflow Components from ASP.NET
  • Exposing a Workflow as a Web Service

“ASP.NET applications are yet another possible host for Windows Workflow Foundation workflows. Due to the special nature of ASP.NET applications, hosting a workflow requires a bit of attention.”

Developing ASP.NET Workflow Applications

“Windows Workflow Foundation supports Web service interoperability as part of the Windows Workflow Foundation framework. Web service interoperability consists of the ability to expose a workflow as a Web service to ASP.NET clients and to other workflows, and also to invoke a Web service from a workflow.”


Coming improvements to ASP.NET hosting of Windows Workflow Foundation after WF Beta 2.2
By Paul Andrew

Paul details on the support of ASP.Net hosting in Windows Workflow Foundation (WF) Beta2.2 and a peak into the improvements in the next – post Beta2.2 – WF releases. In addition, he included pointers to samples for WF and ASP.Net.

ASP.NET: An Overview of ASP.NET and Windows Workflow Foundation Integration

ASP.NET developers should checkout the ASP.NET: An Overview of ASP.NET and Windows Workflow Foundation Integration web-cast by Kashif Alam

It explores designing and developing UI workflow applications with ASP.NET and how developers will be able to use the new “Page Flow” capabilities that are being added to ASP.NET to enable developers to create representative UI for business processes defined with Windows Workflow Foundation (and avoid hard coding in workflow logic in code).

Introduction to Hosting Windows Workflow Foundation


Leave a Comment so far
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: