FluentFlow 2.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FluentFlow --version 2.5.0
                    
NuGet\Install-Package FluentFlow -Version 2.5.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FluentFlow" Version="2.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FluentFlow" Version="2.5.0" />
                    
Directory.Packages.props
<PackageReference Include="FluentFlow" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FluentFlow --version 2.5.0
                    
#r "nuget: FluentFlow, 2.5.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FluentFlow@2.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FluentFlow&version=2.5.0
                    
Install as a Cake Addin
#tool nuget:?package=FluentFlow&version=2.5.0
                    
Install as a Cake Tool

Fluent Flow Library

A modular and extendable workflow engine designed for creating and managing complex business processes with ease.

Build Status License

Table of Contents

Introduction

The Fluent Flow Library allows developers to define, execute, and manage custom workflows with ease. It provides a set of tools and structures to help design intricate processes without the intricacies of building everything from scratch.

Features

  • Fluent API for defining workflows.
  • Built-in logging mechanisms.
  • Modular step-based design.
  • Open for extensions.
  • Exception handling and flow controls.

Prerequisites

  • .NET Core 3.1 or later

Installation

# Using NuGet package manager
nuget install FluentFlowLibrary

Usage

Defining Flows

Use the FlowBase class to define a new flow. Here's a quick example using the CreateTicketFlow:

public class CreateTicketFlow : FlowBase<CreateTicketFlow.DataContext>
{
    protected override void DefineSteps(FlowStepsRegistry stepsRegistry) => stepsRegistry
        .AddStep<CheckMasterApiKeyMatchStep>()
        .AddStep<CheckUserAndCompanyStep>()
        ...
}

Handling Steps

Every step in the flow is a separate component that defines its logic and data context.

Example:

public class CheckMasterApiKeyMatchStep : FlowStepBase<CheckMasterApiKeyMatchStep.DataContext>
{
    ...
    protected override Task OnExecute(CancellationToken cancellationToken = default)
    {
        ...
    }
}

See Example Implementation for detailed usage.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for details on how to submit pull requests and issues.

License

This project is licensed under the terms of the MIT license. See LICENSE for more details.


Please adjust the links (#) as needed (e.g., pointing to an actual CONTRIBUTING.md file or LICENSE file). The badges at the top are just placeholders. You can use services like Shields.io to generate custom badges as per your needs.

You might also want to expand upon certain sections, provide more examples, or add screenshots if the project has any UI components.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.7.3 171 5/21/2026
2.7.1 104 5/21/2026
2.6.0 1,070 11/8/2025
2.5.0 1,260 6/11/2025
2.4.1 763 3/15/2025
2.4.0 158 3/15/2025
2.3.1 939 12/19/2024
2.3.0 214 12/19/2024
2.2.5 207 12/18/2024
2.2.4 206 12/18/2024
2.2.3 263 12/13/2024
2.2.2 205 12/11/2024
2.2.1 199 12/11/2024
2.2.0 201 12/11/2024
2.1.2 205 12/11/2024
2.1.1 198 12/10/2024
2.1.0 193 12/10/2024
2.0.0 1,120 9/21/2024
1.12.1 263 9/17/2024
1.12.0 338 9/16/2024
Loading failed