Question

Is it possible to create and configure Windows Workflow Foundation rules from an ASP.Net application? There is the System.Workflow.Activities.Rules.Design.RuleSetDialog for Windows Forms projects, but is there some equivalent for ASP.Net MVC projects using the Razor view engine?

Anyway, I need to be able to create rules from within an ASP.Net client, save them in a database and evaluate the rules in a service later on. Is there perhaps something new in WF4 that can help me with this?

Was it helpful?

Solution

I can't find any .NET 4 samples, but there is a .NET 3 sample for creating RuleSets using the object model. I would assume you need to create your own custom UI for it and create your RuleSets via the object model to handle this in a web application.

Referenced .NET 3 Samples - The sample I'm referring to is called "Creating rules using the object model"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top