Reputation: 123
I've gone through how to guide of NRule. However, I am not clear on how can I provide a user interface where one can define their rules and later execute them on some model. For example: I have a web application where authorized users drafts a contract between two parties. I would like to add another page to this web site with the ability for my users to draft rules and group them under policies. Later apply any policy on the contract model. How can I achieve this?
Upvotes: 1
Views: 1823
Reputation: 11
In NRules, "rules are authored in C# using internal DSL". Therefore, you would need to write component using some thing like compiled expressions to convert text based files to rules in DSL.
If you are interested in component in .NET with a UI for rules generation out of the box, you would could try Workflow Foundation. Or you could also use Drools using its REST services which converts text to rules (without DSL) which has a UI (Drools Guvnor) but not .NET.
Upvotes: 1