Subtask.Client 1.0.1

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

Subtask.Client

NuGet version (Subtask.Client)

Subtask.Client is the client side of the Subtask library, used to manage and schedule the running of processes.

Installation

The Subtask.Client Nuget package can be found at https://nuget.org/packages/Subtask.Client/.

To install it via the .NET CLI, simply enter:

dotnet add package Subtask.Client

Examples

Initialization - ProcessManagementClient

var client = new MongoClient(/*YOUR CONNECTION STRING*/);
var database = client.GetDatabase(databaseName); // Create a database if databaseName doesn't exist yet
database.CreateCollection(collectionName); // Create a collection
var collection = database.GetCollection<MDProcess>(collectionName);
var storage = new DefaultStorage(collection, collectionName); // Subtask.Storage.MongoDB
ProcessManagementClient client = new ProcessManagementClient(storage);

Create a Process

SubtaskRegistry.Do().Add(
    new SubtaskMeta(
        name,
        typeof(TestProcess),
        new ThreadRelieverSettingsFactory()
    )
);

ProcessHandler handler = await client.CreateProcess(
    new ModuleIdentifier(), 
    applicationName,
    tenantId,
    testUser,
    typeof(TestProcess),
    new TestProcessInput(5),
    ct
);

Start Process

await client.StartProcess(
    new ModuleIdentifier(),
    applicationName,
    handler.Id,
    handler.CreatedBy,
    ct
);
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.
  • net8.0

    • 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.1 203 5/22/2025
1.0.1-beta.1 144 5/22/2025
1.0.0 193 5/22/2025
1.0.0-beta.11 145 5/22/2025
1.0.0-beta.10 163 3/10/2025
1.0.0-beta.9 158 3/10/2025
1.0.0-beta.8 167 3/8/2025
1.0.0-beta.7 201 3/6/2025
1.0.0-beta.6 196 3/6/2025
1.0.0-beta.5 202 3/6/2025
1.0.0-beta.4 202 3/5/2025
1.0.0-beta.3 204 3/5/2025
1.0.0-beta.2 209 3/5/2025
1.0.0-beta.1 197 3/5/2025
0.0.1-beta 235 3/4/2025
0.0.0-beta 232 3/4/2025