Simple Rules Engine in C#
There are some C# "Rules Engines" floating around however they rely on a no-longer-supported nuget package (dynamic linq) https://github.com/microsoft/RulesEngine
I created this "SimpleRulesEngine" that does not rely on lambdas or expression trees. The expressions can be serialized to JSON. https://github.com/aaronhoffman/SimpleRulesEngine
I hope to get a simple example web application added to this repo as well, but I'm not sure when I will have time. Please check out the unit tests for now to see how this can be used.
Hope this helps,
Aaron
Comments