Drools.NET vs Windows Workflow Foundation (WF)

后端 未结 2 1937
忘了有多久
忘了有多久 2021-02-01 20:25

I am currently in the process of searching for a rules engine that works in .NET. Our logic is pretty simple, +, -, *, /, and, or, basic order of operations stuff. However we

相关标签:
2条回答
  • 2021-02-01 20:40

    My experience with WWF has been pretty bad. Its great for developing a workflow that you know is going to exist (such as "this document goes to a person's manager, then to HR, if its invalid it goes back to the submitter") but a real pain if you want dynamic configuration. As you can tell we tried to use it for a fully configurable system, something that BizTalk does really well, and it looks like MS isn't keen on letting developers replace BizTalk so cheaply.

    We also looked at using the Acumen rules engine and tools which looked like a great fit for what we needed though we never got the time to remove WWF and replace it.

    I would strongly recommend that if your rules are going to be relatively simple that you either use a rules engine you have the source code to or write it yourself. Justin Etheredge has a two part article about performing domain validation through custom rules using the pattern identified in Domain-Driven Designs (Evans).

    I've implemented a similar system in my current project following the same guidelines and I serialize/deserialize rules from the database. I will have to take a look at Drools.NET.

    0 讨论(0)
  • 2021-02-01 20:48

    the fact that biztalk is not going to be replaced easily by wwf is true. The objectives are very different between them, drools compares to biztalk and not with wwf, reasons, both use the same alogorithm (rete)!!

    Now, using drools is something else, biztalk also functions as an ESB, can drools do that?

    0 讨论(0)
提交回复
热议问题