About Code Effects

Pure XML-based ASP.NET and MVC business rules engine.

Code Effects lets you write complex rules by selecting rule elements from context-sensitive drop downs. The end result looks like a spoken sentence. You can execute rules from any .NET code and create business rules online using the Code Effects editor. Store rules as XML in your database or file system and evaluate them in any .NET environment by executing a simple statement.

Code Effects Features

  • Revolutionary web interface - By using the Code Effects business rules solution, anyone can write complex rules simply by selecting rule elements from the context-sensitive menu. The end result looks like a spoken sentence: If customer home state is Georgia then add no shipping cost else add shipping (9.95). Code Effects does not use outdated and difficult to understand formats such as decision tables. This greatly simplifies the entire process of creation, deployment, and evaluation of business rules. IT personnel is not required to author business rules and no code re-compilation is needed if existing rules are modified.
  • Evaluate rules from any .NET code - Create business rules with the Rule Editor, store them in XML format in a database or file system, and evaluate them against your data with the Rule Engine in any .NET environment using one of several Evaluator classes by executing a simple statement.
  • No shared security - Code Effects solution is implemented as a plain .NET assembly. You don't need to send your security context, your data, and your rules somewhere else, neither you need to install and maintain separate evaluation environments and servers in order to evaluate your business rules. Simply reference Code Effects assembly in your project(s) and evaluation of your rules becomes instantly available to your code.
  • It's fast - The thread-safe Rule Engine is capable of evaluating a collection of millions of complex source objects in just milliseconds.
  • Parentheses - For complex rules, the Rule Editor employs parentheses to prioritize the evaluation of rule conditions. Anyone who understands the difference between (A + B) x C and A + (B x C) can now create business rules of any complexity.
  • Automatic rule validation - The Rule Editor automatically highlights invalid rule elements and even displays a short description of the problem for each invalid rule element if the rule author tries to save an invalid rule. This guarantees that each saved or modified rule is valid and ready for testing or deployment.
  • Reusable rules - Save any group of repetitive conditions as an evaluation type rule and reuse it in any other rule as if it was a regular field.
  • Rule Templates - Use any existing rule as a template for other rules.
  • Runs on any modern .NET platform, no installation required - The Code Effects business rules solution requires no installation, no background processes, no dependency on third-party frameworks or components, and no need to give special write access to folders or set special user permissions. It runs fine even on rudimentary shared hosting accounts and supports all common Cloud environments such as Microsoft Azure and Google Cloud Platform.
  • Built-in help - By default, the Rule Editor displays a Help String that detects what's already in the rule and automatically suggests the next action using the language of your choice.
  • Customizable - Almost all members of your source object can be decorated with optional attributes. They instruct Code Effects as to how to render its UI, display rule elements and evaluate rules. Code Effects solution provides attributes for properties, methods, parameters, return values, and so on. Use them to change the default behavior of your business rules. You can set date and time formats, min and max limits for numeric values, the type of values rule authors should be allowed to input, and so on.