Skip to content

Repository for porting non-deprecated sections of System.Workflow.Activities.Rules to .NetStandard and new namespace LogicBuilder.Workflow.Activities.Rules.

License

Notifications You must be signed in to change notification settings

BpsLogicBuilder/LogicBuilder.Rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogicBuilder.Rules

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.

To get started:

  • Build the solution.

Run the unit tests

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.

Create serialized rule sets

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

Rule Set Editor

  • 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)

Platform specific serialization

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)

Get the Logic Builder

BPS Logic Builder defines forms, queries, and business logic for Microsft platfrom (.Net Framework, .Net Core, .Net Native, and Xamarin) applications using Visio.

System Requirements

  • Windows 10 version 1809 build 17763
  • Visio 2010, 2013, 2106 or 2019

English badge

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.

About

Repository for porting non-deprecated sections of System.Workflow.Activities.Rules to .NetStandard and new namespace LogicBuilder.Workflow.Activities.Rules.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages