MinimalCleanArch.Jobs 0.1.21-preview

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

MinimalCleanArch.Jobs

Scheduling port (recurring + delayed) with an IHostedService fallback. No ASP.NET types on the port.

Version

  • Current: 0.1.20-preview (net9.0, net10.0).

Why Use It

  • register delayed and recurring work behind IJobScheduler
  • swap the in-process timer for a Wolverine adapter (AddWolverineJobs) without changing application handlers

When to Use It

  • generated --jobs or --messaging apps (sample: purge soft-deleted Todos)
  • any host that needs a small scheduler without Hangfire/Quartz

Dependency Direction

  • Depends on: no other MCA package
  • Typically referenced by: application (handlers) and composition roots
  • Do not reference from: domain projects
  • Wolverine adapter lives in MinimalCleanArch.Messaging (AddWolverineJobs)

Usage

dotnet add package MinimalCleanArch.Jobs --version 0.1.20-preview
builder.Services.AddJobs(options =>
{
    options.Recurring("purge-soft-deleted-todos", TimeSpan.FromHours(24),
        () => new PurgeSoftDeletedTodos(TimeSpan.FromDays(30)));
});
builder.Services.AddScoped<IJobHandler<PurgeSoftDeletedTodos>, PurgeSoftDeletedTodosHandler>();

With --messaging, call AddWolverineJobs() after AddMinimalCleanArchMessaging so delayed jobs use IMessageBus.ScheduleAsync.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 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 (1)

Showing the top 1 NuGet packages that depend on MinimalCleanArch.Jobs:

Package Downloads
MinimalCleanArch.Messaging

Messaging and event-driven architecture for MinimalCleanArch using Wolverine. Includes domain events, transactional outbox, and background job processing.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.21-preview 33 9/19/2026