Using WF rules without using workflow actions or the built-in rule set editor

Is any WF Rules mechanism used outside of workflow operations WITHOUT using the Rule Editor or CodeDOM?

Scenario

I am trying to use the Rule mechanism that ships with Foundation Workflow classes from the .Net Framework for a web application. We evaluate hundreds of validation rules before proceeding with the calculation for a comprehensive calculation.

I went through many blogs that said how to use the rules engine without having work operations, including http://cgeers.com/2008/01/26/using-rules-outside-of-a-workflow/ . However, they all ultimately use the rule editor to define the rules. I want to declaratively define rules in an XML file

What i'm looking for

  • I need to specify the rules in plain XML without accessing CODEDOM. CodeDOM seems very difficult to write.

  • I should not depend on the RuleSet Editor to define the rules.

Any thoughts any?

+3
source share
3 answers

I don’t know what rules you rate, but if you are looking for a good open source rule engine, there is one .

0
source

Take a look at the following article for a strategy (not a solution) to solve this problem.

http://code.msdn.microsoft.com/windowsdesktop/Creating-Rules-Using-the-23c5d561

0
source

WF- - CodeDom.

.

XML, .

0
source

All Articles