Soenneker.Windmill.HttpClients 11.0.180

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

Provides a cached HttpClient configured with a Windmill instance URL and bearer token.

Installation

dotnet add package Soenneker.Windmill.HttpClients

Configuration

{
  "Windmill": {
    "Token": "your-user-token",
    "ClientBaseUrl": "https://app.windmill.dev/api/"
  }
}

Use your own instance URL for self-hosted Windmill. Keep the trailing slash after api/ so relative workspace paths resolve correctly. Windmill:ApiKey remains supported as a legacy alias for Token.

Registration and usage

using Soenneker.Windmill.HttpClients.Abstract;
using Soenneker.Windmill.HttpClients.Registrars;

services.AddWindmillOpenApiHttpClientAsSingleton();

public sealed class WindmillService
{
    private readonly IWindmillOpenApiHttpClient _clientProvider;

    public WindmillService(IWindmillOpenApiHttpClient clientProvider)
    {
        _clientProvider = clientProvider;
    }

    public async Task<string> ListScripts(
        string workspace,
        CancellationToken cancellationToken)
    {
        HttpClient client = await _clientProvider.Get(cancellationToken);
        return await client.GetStringAsync(
            $"w/{Uri.EscapeDataString(workspace)}/scripts/list",
            cancellationToken);
    }
}

Use AddWindmillOpenApiHttpClientAsScoped() when the provider should follow a scope. Each provider owns its cached client and removes it when disposed.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Windmill.HttpClients:

Package Downloads
Soenneker.Windmill.OpenApiClientUtil

Provides a cached Windmill Kiota client backed by a shared configured HTTP transport.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.180 83 11/19/2026
11.0.179 59 11/19/2026
11.0.178 46 11/19/2026
11.0.177 60 11/18/2026
11.0.176 61 11/18/2026
11.0.173 125 11/15/2026
11.0.172 104 11/15/2026
11.0.170 142 11/11/2026
11.0.169 98 11/11/2026
11.0.168 102 11/11/2026
11.0.167 112 11/11/2026
11.0.166 187 11/3/2026
11.0.165 106 11/3/2026
11.0.164 102 11/3/2026
11.0.162 101 11/3/2026
11.0.161 220 10/27/2026
11.0.160 126 10/27/2026
11.0.159 111 10/26/2026
11.0.158 102 10/26/2026
11.0.157 100 10/26/2026
Loading failed

Updated Multiple NuGet packages