Skip to content
andybalham edited this page Nov 27, 2019 · 4 revisions

FlowR is a .NET framework for building in-process flows based on a series of decoupled exchanges. It leverages the MediatR framework and dependency injection to enable flows to be defined in a declarative fashion. The result are flows that are straightfoward to test and produce comprehensive logging as standard.

Samples

Hello FlowR

Hello FlowR is a console application that demonstrates a simple flow containing a single activity that combines a design-time and run-time value to say hello.

A guide to this sample can be found here.

Twenty Questions

Twenty Questions is a console application that demonstrates the multi-branch flow shown below. The flowchart below was created using FlowR's ability to generate diagrams in DOT Language directly from the code.

See Twenty Questions Sample for a walkthrough of how such a flow is created and tested.

Business Example

Business Example is a web API that makes loan decisions based using a process implemented using FlowR. It demonstrates the following:

  • How the flow logic can be tested in isolation
  • How the individual activities can be tested in isolation
  • How using the mediator pattern can decouple the flow from the underlying services
  • The comprehensive logging that comes out of the box
Clone this wiki locally