How to store business logic (data validation rules in my case) that can be updated?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • RulesEngine

    A Json based Rules Engine with extensive Dynamic expression support

  • Might be worth checking out the Microsoft Rules Engine. It's part of the Microsoft Open Source libraries, which I think come from their employees.

  • Node RED

    Low-code programming for event-driven applications

  • I recently built a timesheet workflow system using Node-Red. I built a set of custom nodes for things like "fetch timesheet" and "lookup approver" and "post new status". Then, we used Node-Red to build the workflow from the nodes and exported the flow's json and saved it to our workflow config table. Then, when a timesheet is submitted, the matching workflow config is looked up (we have over 100 types of timesheets each with their own workflow), and a new Docker image running Node-Red is spun up which runs the workflow, then it shuts down and logs its results.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Remote.Linq

    Simply LINQ your remote resources...

  • I have some experience in this area. JSON Logic let’s you serialize rules in JSON and there implementations in multiple languages. Another option would be Remote.Linq which allows you to serialize a LINQ expression tree to JSON.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts