Klassd.Workflows.Storage.MongoDb 0.0.1-beta.1

This is a prerelease version of Klassd.Workflows.Storage.MongoDb.
dotnet add package Klassd.Workflows.Storage.MongoDb --version 0.0.1-beta.1
                    
NuGet\Install-Package Klassd.Workflows.Storage.MongoDb -Version 0.0.1-beta.1
                    
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="Klassd.Workflows.Storage.MongoDb" Version="0.0.1-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Klassd.Workflows.Storage.MongoDb" Version="0.0.1-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="Klassd.Workflows.Storage.MongoDb" />
                    
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 Klassd.Workflows.Storage.MongoDb --version 0.0.1-beta.1
                    
#r "nuget: Klassd.Workflows.Storage.MongoDb, 0.0.1-beta.1"
                    
#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 Klassd.Workflows.Storage.MongoDb@0.0.1-beta.1
                    
#: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=Klassd.Workflows.Storage.MongoDb&version=0.0.1-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Klassd.Workflows.Storage.MongoDb&version=0.0.1-beta.1&prerelease
                    
Install as a Cake Tool

Klassd.Workflows

A code-first, NuGet-distributed background-job and workflow engine for .NET. Jobs are plain C# classes implementing a small interface; the scheduler runs them as local processes in dev and as one Kubernetes pod per execution in production — the same worker either way. Compose jobs into DAG workflows (dependencies, fan-out, conditions, retries, artifact passing) and watch them live in a Blazor dashboard.

⚠️ Beta. Klassd.Workflows is in public beta (0.x). It works and is tested, but the API surface may change between releases until 1.0. Pin your versions and read the release notes when upgrading.

Install

Install the core plus the adapters you need (add --prerelease while in beta):

dotnet add package Klassd.Workflows.Core --prerelease
dotnet add package Klassd.Workflows.Storage.Postgres --prerelease   # durable store (optional)
dotnet add package Klassd.Workflows.Kubernetes --prerelease         # K8s executor (optional)
// Define a job
public sealed class MyJob : IJob
{
    public async Task RunAsync(IJobContext ctx)
    {
        ctx.Log("starting");
        ctx.ReportProgress(50, "halfway");
        await Task.Delay(1000, ctx.CancellationToken);
    }
}

// Wire it up
var workflows = builder.Services.AddKlassdWorkflowsCore();
workflows.UsePostgres("Host=…;Database=…;Username=…;Password=…");   // or .UseMongo(...) / in-memory
builder.Services.AddKubernetesExecutor(builder.Configuration);      // or AddLocalExecutor(...)

Packages

Package Purpose
Klassd.Workflows.Abstractions IJob / IJobContext, the artifact-store seam, worker protocol (no deps)
Klassd.Workflows.Core Scheduler, job catalog, cron loop, in-memory store, DAG orchestrator, local executor
Klassd.Workflows.Kubernetes KubernetesJobExecutor — one batch/v1 Job per execution
Klassd.Workflows.Storage.Postgres / .Storage.MongoDb Durable IJobStore adapters
Klassd.Workflows.Artifacts.S3 / .Artifacts.Gcs IArtifactStore adapters for large payloads between nodes

The core carries no Kubernetes/AWS/Google/Mongo/Npgsql dependency — each adapter keeps its SDK isolated, so you only pull in what you wire up.

Documentation

Full quickstart, the workflow/DAG model, pod-resource tuning, storage/artifact configuration, and running locally vs. on Kubernetes are on the project's GitHub repository: https://github.com/getklassd/Klassd.Workflows

License

MIT © Mark Lonquist

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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
0.0.1-beta.1 30 6/10/2026