Using Workflow with ASP.NET MVC 4 AsyncController

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

Recommended Download

Application HelloWorkflowAndMVCAsync.zip
application, 1116K, uploaded Apr 11, 2012 - 1954 downloads

Release Notes

Introduction

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

Building the Sample

This sample requires
  • ASP.NET MVC 4
  • Microsoft.Activities.Extensions (included)

Description

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.