Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.97 KB

File metadata and controls

36 lines (23 loc) · 1.97 KB

ASP.NET Core | .NET 8.0 | Business Rules

NuGet Packages

npm Package

Right-click the /Dependencies/npm folder and select Restore Packages before building and running the project. Files from the npm "codeeffects" package are automatically copied by MSBuild to the /wwwroot folder during the build process. See the .csproj file for details.

Remarks

The /wwwroot/index.html file declares the rule management and evaluation script that uses end-points declared in the /Api.cs file to save, load, update, delete, and evaluate business rules. Rules are stored in temporary in-memory storage using the Api.Storage dictionary. The Toolbar and HelpString are enabled by default. Default settings are configured in the /Api.cs Settings constructor.

This demo project uses the Adaptive Source model. For details about how Adaptive Source works and how menus are generated dynamically at runtime, see the Adaptive Source documentation - link is in the Resources section.

The /MenuProvider.cs class implements the IMenuProvider interface and uses the /Patient.cs class as the data source for generating menu items. The MenuProvider is assigned to the Rule Editor in the Api.GetControl() method of /Api.cs file.

Resources

© 2009 - 2026 Code Effects Software, LLC