ASP.NET based Workflow Engine

asp.networkflow

I am working on a design spec for a new application that will be heavily workflow driven.

Before I re-invent the wheel, is there a decent lightweight workflow engine that plugs into ASP.NET already around?

Basically, I'm looking for something that handles moving through a defined set of workflow pages while handling state management automatically.

If this isn't around already, I'll definitely try to abstract the engine from my app and put it on codeplex, as it would be really handy.

Any suggestions?

Note: .NET 2.0, so no WWF, though I think WWF is overkill for my needs.

EDIT: Seems like there is a legitimate need for this, and there isn't a product out there…So I might build this.

Here is what I'm picturing:

  • Custom Page class called WebFlowPage
  • All WebFlowPage's are registered in a Workflow mapper.
  • Each WebFlowPage has some form of state object.
  • A HttpHandler handles picking the appropriate WebFlowPage based upon the workflow, and populating it from the state object.

Best Answer

Is the workflow dynamic, or static?

If the workflows are simple, you could roll your own workflow engine. In certain situations, it can be fairly simple, and just a couple of data tables to handle the rules, processing and state.

Alot of workflow engines are built for large scale processing (credit card applications, for example). For small scale, you should at least consider your own, which would eliminate the overhead and dependency of/on an engine.