Kogoshvili.Temporal.Hosting 1.0.3

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

Kogoshvili.Temporal.Hosting

A generic-host worker starter for the Temporal .NET SDK, inspired by the Java Spring Boot Temporal starter. It layers configuration binding, convention-based auto-discovery, a metrics interceptor, and a test-server toggle on top of Temporalio.Extensions.Hosting.

Unlike Kogoshvili.Temporal.Analyzers, this library references the real Temporalio SDK and targets net8.0.

Features

  • Worker registrationAddTemporalWorker with explicit type registration or opt-in AddDiscoveredTypes(), per-queue tuning, worker versioning, and multi-namespace support. → docs/worker-registration.md
  • Activity-options presets — default/named ActivityOptions from config, resolved via the ActivityOps facade. → docs/activity-options.md
  • Workflow-options presets & ID conventions — typed IWorkflowOps facade, child-workflow ops, and workflow settings. → docs/workflow-ops.md
  • Saga — compensation helper for rolling back partial work on failure. → docs/saga.md
  • Heartbeating activitiesHeartbeatingActivity base for long-running activities that heartbeat and resume from a checkpoint. → docs/heartbeating.md
  • Schedules — idempotent schedule registration from config or code. → docs/schedules.md
  • Search attributes — idempotent search-attribute bootstrap. → docs/search-attributes.md
  • Connection & TLS — connection retry/wait, transport options, TLS sources (file/env/Key Vault/Secrets Manager). → docs/connection.md
  • Observability — metrics, tracing, and Core log forwarding. → docs/observability.md
  • Health checks — client/worker liveness checks. → docs/health-checks.md
  • Payload codecs & per-field secrets — encryption, claim-check, and Secret<T> field encryption. → docs/data-converter.md

Full configuration reference (all keys in one JSON block). → docs/configuration.md

Usage

using Kogoshvili.Temporal.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

var builder = Host.CreateApplicationBuilder(args);

builder.Services
    .AddTemporal(builder.Configuration)
    .AddTemporalWorker("my-task-queue")
    .AddDiscoveredTypes();

using var host = builder.Build();
await host.RunAsync();

Configuration binds from the Temporal section of appsettings.json, overridden by Temporal__* environment variables. See docs/configuration.md for the full schema.

Not affiliated with or endorsed by Temporal Technologies.

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.

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.3 92 9/4/2026
1.0.2 98 9/3/2026
1.0.1 87 9/1/2026
1.0.0 97 8/31/2026
1.0.0-beta.10 78 8/28/2026
1.0.0-beta.9 63 8/28/2026

Generic-host Temporal worker starter: config binding, workflow/activity auto-discovery, shared DataConverter, metrics, tracing, schedules, health checks, and a test-server toggle.