Code Effects .NET Business Rules Engine 5.0.25

Revolutionary web interface. By using the Code Effects business rules solution, any educated adult 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). No IT personnel are required to author business rules and no code re-compilation is needed if 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 with the Rule Engine in any .NET environment using one of several Evaluator classes by executing a simple statement like this:

It’s unbelievably fast! The Rule Engine is capable of evaluating a collection of millions of complex source objects in milliseconds, filtering out the ones that didn’t make it through the rule(s).

Parentheses. For complex rules, the Rule Editor employs parentheses to prioritize 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. To see this in action, try to save an invalid rule using the demo editor.

Supports all major browsers. The Rule Editor runs perfectly on Firefox, Chrome, Safari and Opera on Mac and Windows; it supports Edge and IE 9 and up on Windows.

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. The Test Rule pre-loaded in the demo editor demonstrates this feature by using the Reusable Rule.

Runs on any modern .NET platform. Download our demo projects to see different implementations of Code Effects.

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 a 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.

Trusted Worldwide. Code Effects business rules solution is trusted by governments, and Fortune 500 companies in mission-critical projects all over the world.

New Features in Version 5.0
Core 2.0 and Standard 2.0 Support
Prior to version 5.0 all functionality of the Code Effects solution was delivered in a single assembly named CodeEffects.Rule.dll. Beginning from version 5.0, Rule Editor and Rule Engine are split into separate assemblies. This gives developers more referencing flexibility.

The Rule Editor is now completely free and can be referenced from NuGet. It supports all current .NET web platforms. Please refer to the Rule Editor Implementation Examples topic for implementation details and NuGet links.

The Rule Engine is now built on .NET Standard 2.0 platform and can be referenced in any .NET code version 4.6 and up. Its Engine Trial version is available on NuGet for feature testing. Multiple licenses and add-ons are available for purchase. Please contact us for licensing and upgrade details.

Namespaces that were used in previous versions of Code Effects were preserved in version 5.0 regardless of which of the new assemblies are referenced in your project. This ensures the smooth transition of any existing code into version 5.0.

FlexSource Technology
In addition to existing Plain .NET Class and Source XML types of source objects, version 5.0 introduces the new FlexSource type. This source type allows you to build a source object on-the-fly without having it at design- or even run-time. This is convenient when you have all your fields and their values stored in a database.

Implementation of this type is simple; it follows the standard .NET Reflection design pattern and uses its main types such as PropertyInfo, MethodInfo as base types for properties, in-rule methods, etc. The ASP.NET 4.6 FlexSource demo project provides detailed implementation of this new source type.

Cut, Copy and Paste Support
Version 5.0 supports the Cut, Copy and Paste for all rule elements in Rule Area. Refer to the Rule Editor topic for details.

Field Groups
Version 5.0 introduces Field Groups, a convenient way to group all or some of the in-rule methods, fields, and properties of your source object in context menus of the Rule Area. You can group your fields by setting the value of the new FieldAttriobute.Group property of each field individually. Learn more about this new exciting feature.

Field Filters
This new feature allows you to filter the list of rule fields and in-rule methods in context menus. Together with the new Field Groups, this new feature is an excellent new way to have almost complete control over the field context menus in Rule Area. Details can be found here.

Textbox Value Inputs
At this point most of our large customers throughout the world dropped their requirements to support IE 9. This allowed us to finally replace the SPAN-based text input with the regular textbox control.

Simplified Styles
All context menus in Rule Editor are now DIV-based. If your project uses modified Code Effects styles then change the CSS class div.ceMenu table to div.ceMenu div. Class div.ceMenu table td can be dropped as it’s no longer in use. The default font size for the most rule elements is changed from 12px to 13px

In version 5.0, Code Effects styles have been split into two separate files: CodeEffects.Common.css and CodeEffects.(theme).css. We also greatly simplified our CSS classes. The main goal now is to allow your existing styles to have better control over how the Rule Editor is displayed in your markup. Of course, you can edit those CSS files to achieve your styling needs. Details on Code Effects styling can be found in this topic.

rules, Effects, Editor, business, version, source, Engine, elements, solution, context, using, feature, supports, menus, fields, modified, shipping, values, Field, complex, rules, Effects, Editor, business, version, Engine, source, solution, elements, context, using, feature, methods, menus, values, shipping, supports, modified, invalid, complex