Using Workflow with ASP.NET MVC 4 AsyncController

Rating: No reviews yet
Downloads: 2007
Released: Apr 11, 2012
Updated: Apr 11, 2012 by ronjacobs
Dev status: Beta Help Icon

Recommended Download

application, 1116K, uploaded Apr 11, 2012 - 2007 downloads

Release Notes


This sample demonstrates how you can invoke a Workflow asynchronously using WorkflowApplication from an AsyncController.

Building the Sample

This sample requires
  • Microsoft.Activities.Extensions (included)


This simple "Hello World" workflow adds to the ViewBag a greeting property created from a workflow. The Workflow is invoked Asynchrounously from a Controller derived from AsyncController. The key is to use the AsyncManager to increment and decrement outstanding operations. You also need to provide delegates for the Completed and Aborted events of WorkflowApplication at a minimum.

Reviews for this release

No reviews yet for this release.