Description
Rules Engine is a .NET library, distributed as a NuGet package, for taking business logic, rules and policies out of your application code. The rules live in a store outside the core logic of the system, so changing a rule does not mean changing the system itself. The README says rules can be kept in Azure Blob Storage, Cosmos DB, Azure App Configuration, Entity Framework, SQL Server, file systems and other stores. Each rule follows a defined schema, and a rule can be written as a lambda expression. To use the engine, you deserialise the workflow definitions into objects, create an instance of the Rules Engine from them, and call ExecuteAllRulesAsync with the input and the workflow name. The README includes example rules and code snippets for each step. Install it by downloading the latest package from nuget.org and referencing it in your project. The project is on GitHub under the Microsoft organisation and is described as a fast and reliable engine with extensive dynamic expression support. It is aimed at .NET developers who want their rules kept separate from their code.…
Highlights
- NuGet library for .NET business rules
- Rules stored outside the core logic
- Rules written as lambda expressions
- Stores include Azure, SQL, Entity Framework and files
- ExecuteAllRulesAsync runs a workflow
Ratings & Reviews
No ratings yet
Be the first to rate RulesEngine.
People also visit
WorkflowEngine.NET
Workflow Engine by Optimajet, the embeddable workflow engine for .NET and C#
RulesEngine FAQ
What is Rules Engine?
A .NET library for moving business rules out of your code and running them from a store.
How do I install it?
Download the latest package from nuget.org and reference it in your project.
Where can rules be stored?
The README says any store works, including Azure Blob Storage, Cosmos DB, Azure App Configuration, Entity Framework, SQL Server and file systems.
How are rules run?
Create an instance from the workflow objects, then call ExecuteAllRulesAsync with the input and the workflow name.
Is it open source?
The repository is public on GitHub under the Microsoft organisation.
What are the best RulesEngine alternatives?
Popular alternatives to RulesEngine include WorkflowEngine.NET, Workflow Core and Flowable Engine. See all RulesEngine alternatives








