Soenneker.Temporal.OpenApiClientUtil 11.0.256

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

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Temporal.OpenApiClientUtil

Provides lazily initialized, cached access to Temporal's generated OpenAPI client.

Installation

dotnet add package Soenneker.Temporal.OpenApiClientUtil

Configuration

{
  "Temporal": {
    "ClientBaseUrl": "https://your-namespace.your-account.tmprl.cloud/",
    "ApiKey": "your-api-key"
  }
}

Registration

using Soenneker.Temporal.OpenApiClientUtil.Registrars;

services.AddTemporalOpenApiClientUtilAsScoped();

Scoped registration lets the generated-client wrapper follow the current scope while its authenticated HTTP provider remains singleton. Use AddTemporalOpenApiClientUtilAsSingleton() when the wrapper itself should be application-wide.

Usage

using Soenneker.Temporal.OpenApiClient;
using Soenneker.Temporal.OpenApiClient.Models;
using Soenneker.Temporal.OpenApiClientUtil.Abstract;

public sealed class TemporalService
{
    private readonly ITemporalOpenApiClientUtil _clients;

    public TemporalService(ITemporalOpenApiClientUtil clients)
    {
        _clients = clients;
    }

    public async ValueTask<GetSystemInfoResponse?> GetSystemInfo(CancellationToken cancellationToken)
    {
        TemporalOpenApiClient client = await _clients.Get(cancellationToken);
        return await client.Api.V1.SystemInfo.GetAsync(cancellationToken: cancellationToken);
    }
}

Do not dispose the generated client returned by Get(). The utility owns its cached wrapper, while the registered HTTP provider owns the underlying HttpClient.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.256 54 12/3/2026
11.0.255 55 12/3/2026
11.0.254 74 12/3/2026
11.0.253 75 12/3/2026
11.0.252 76 12/3/2026
11.0.250 70 12/2/2026
11.0.249 77 12/2/2026
11.0.248 88 12/2/2026
11.0.247 86 12/2/2026
11.0.246 86 12/1/2026
11.0.245 87 12/1/2026
11.0.244 89 12/1/2026
11.0.243 85 12/1/2026
11.0.242 89 12/1/2026
11.0.241 94 11/30/2026
11.0.240 101 11/30/2026
11.0.239 92 11/29/2026
11.0.238 103 11/21/2026
11.0.237 110 11/19/2026
11.0.235 98 11/18/2026
Loading failed

Updated Multiple NuGet packages