开发者

Most flexibilities rule engine for .NET [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

My upcoming project is relate to sales system, so one of the main requirement is "user can modify promotion by themselves". Promotions is vary, they give me some of them.

  1. Buy 1 get 1 free, Buy 2 get 3.
  2. One for 30%, two for 50%, three f开发者_如何学Cor 80%
  3. Buy product A will discount 30% for product B
  4. 20% off for more than 20$ per transaction

I know a little of rule engine, please suggest me a book to learn it too.


A previous SO answer might be of help: Looking for simple rules-engine library in .NET

Have you looked at Windows Workflow Foundation


You could use a commercial rule engine for .Net like InRule or the .Net version of IBM ILOG Rules or FICO Blaze Advisor. All of them make it easy to expose the rules to the business user in a way that makes it safe for them to edit them while providing technical hooks/APIs to make it easy to integrate the rules engine and execution.


You can use BOO DSL features or use Rhino.DSL (we are using it as a macro engine for our project)

as for your example check out this link


You can use a simple attribute based Rule Engine created by me:

http://ruen.codeplex.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜