This project removes the deprecated sections from System.Workflow.Activities.Rules, makes the assembly compatible with .NetStandard 2.0. and updates the namespace to LogicBuilder.Workflow.Activities.Rules.
- Build the solution.
The unit tests (one set of tests each for .Net Core, .Net Native and the .Net Framework) create rulesets using CodeDom expressions, execute the rules engine, and evaluate the results.
- Execute Console.SampleFlow.NetCore.DefineAndSerialize, Console.SampleFlow.Uwp.DefineAndSerialize and Console.SampleFlow.NetFramework.DefineAndSerialize. Each application creates and serializes a rule set for the corresponding platform (.Net Core, .Net Native and .Net Framework respectively).
- Check the "ruleSetFile" entry in the settings files (appSettings.json for .Net Core and Settings.settings for the .NetFramework) for the update locations.
- The file generated by Console.SampleFlow.Uwp.DefineAndSerialize will be saved to
<Drive>:\Users\<UserName>\AppData\Local\Packages\<projectName>\RoamingState\FlowEntity.Uwp.module
.
- Set the start up project to RuleSetToolkit and run the winforms application.
- To use a rule set created by Console.SampleFlow.NetCore.DefineAndSerialize or Console.SampleFlow.NetFramework.DefineAndSerialize, set:
- Activity Class: SampleFlow.FlowEntity
- Activity Assembly: (Full path to SampleFlow.dll) (SampleFlow is a project in the solution)
- Ruleset: (Full Path to either file serialized by Console.SampleFlow.NetCore.DefineAndSerialize, Console.SampleFlow.Uwp.DefineAndSerialize or Console.SampleFlow.NetFramework.DefineAndSerialize) (defaults for .Net Core and .Net Framework are: C:\Temp\FlowEntity.NetCore.module and C:\Temp\FlowEntity.NetFramework.module respectively)
Serialization is a litte different for each platform because the strong names are different. Use the Platform dropdown list to select the desired serialization format. There are four platforms listed:
- .Net Framework
- .Net Core platform (for UWP, Xamarin UWP and .Net Core )
- Xamarin (iOS and Android )
- .Net Native (UWP - .Net Native tool chain)
BPS Logic Builder defines forms, queries, and business logic for Microsft platfrom (.Net Framework, .Net Core, .Net Native, and Xamarin) applications using Visio.
- Windows 10 version 1809 build 17763
- Visio 2010, 2013, 2106 or 2019
If your version of Visio is 64-bit then be sure to get the 64-bit version instead.
- In the Logic Builder client select Help > Contents or use the online help pages.
- Select Getting Started at the top of the treeview.
- Follow the instructions to download the sample applications (C#, Angular 7 and flow diagrams).
- Follow the instructions to build and deploy the rules.