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
<PackageReference Include="Soenneker.Windmill.HttpClients" Version="11.0.180" />
<PackageVersion Include="Soenneker.Windmill.HttpClients" Version="11.0.180" />
<PackageReference Include="Soenneker.Windmill.HttpClients" />
paket add Soenneker.Windmill.HttpClients --version 11.0.180
#r "nuget: Soenneker.Windmill.HttpClients, 11.0.180"
#:package Soenneker.Windmill.HttpClients@11.0.180
#addin nuget:?package=Soenneker.Windmill.HttpClients&version=11.0.180
#tool nuget:?package=Soenneker.Windmill.HttpClients&version=11.0.180
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Extensions.Configuration (>= 11.0.919)
- Soenneker.Utils.HttpClientCache (>= 11.0.2164)
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 |
Updated Multiple NuGet packages