Cadenza.Worker 1.0.15

Requires NuGet 5.0 or higher.

<Sdk Name="Cadenza.Worker" Version="1.0.15" />
                    
For projects that support Sdk, copy this XML node into the project file to reference the package.
#:sdk Cadenza.Worker@1.0.15
                    
#:sdk 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.

Cadenza.Worker

Read this in 한국어.

Cadenza.Worker is the worker / daemon variant of the Cadenza SDK family — a single-file scripting MSBuild SDK that wraps Microsoft.NET.Sdk.Worker.

Quick start

Create a heartbeat.cs file:

#!/usr/bin/env dotnet run
#:sdk Cadenza.Worker@1.0.15

await Run(async (ct) =>
{
    while (!ct.IsCancellationRequested)
    {
        Log.Info($"Heartbeat at {DateTime.UtcNow:O}");
        await Task.Delay(TimeSpan.FromSeconds(30), ct);
    }
});

Run iteratively:

dotnet run heartbeat.cs

Publish as a self-contained single binary:

dotnet publish heartbeat.cs -r linux-x64 -c Release

See the project repository for the full specification.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
1.0.15 138 5/28/2026
1.0.14 125 5/26/2026
1.0.13 124 5/26/2026
1.0.12 125 5/26/2026
1.0.7 130 5/25/2026
1.0.6 128 5/25/2026
1.0.5 130 5/25/2026
1.0.4 136 5/25/2026
1.0.3 131 5/25/2026
1.0.2 141 5/25/2026
1.0.1 133 5/25/2026
1.0.0 133 5/25/2026