Skip to content

Repository for porting non-deprecated sections of System.Workflow.Activities.Rules to .NetStandard.

License

Notifications You must be signed in to change notification settings

BlaiseD/WFRulesToNetStandard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WFRulesToNetStandard (Deprecated - Use LogicBuilder.Rules Repository)

This project removes the deprecated sections from System.Workflow.Activities.Rules and makes the assembly compatible with .NetStandard 2.0.

To get started:

  • Build the solution.

Run the unit tests

The unit tests (one set of tests each for .Net Core and the .Net Framework) create rulesets using CodeDom expressions, execute the rules engine, and evaluate the results.

Create serialized rule sets

  • Execute Console.NetCore.DefineAndSerialize and Console.NetFramework.DefineAndSerialize. Each console application creates and serializes a rule set for the corresponding platform (.Net Core 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.

Rule Set Editor

  • Set the start up project to RuleSetToolkit and run the winforms application.
  • To use a rule set created by Console.NetCore.DefineAndSerialize or Console.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.NetCore.DefineAndSerialize or Console.NetFramework.DefineAndSerialize) (defaults 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 six app models listed but just three formats (for three platforms):

  • .Net Framework stands alone
  • UWP, Xamarin UWP and .Net Core (.Net Core platform)
  • iOS and Android (Xamarin platform)

About

Repository for porting non-deprecated sections of System.Workflow.Activities.Rules to .NetStandard.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages