Fig.Aspire
3.2.2
See the version list below for details.
dotnet add package Fig.Aspire --version 3.2.2
NuGet\Install-Package Fig.Aspire -Version 3.2.2
<PackageReference Include="Fig.Aspire" Version="3.2.2" />
<PackageVersion Include="Fig.Aspire" Version="3.2.2" />
<PackageReference Include="Fig.Aspire" />
paket add Fig.Aspire --version 3.2.2
#r "nuget: Fig.Aspire, 3.2.2"
#:package Fig.Aspire@3.2.2
#addin nuget:?package=Fig.Aspire&version=3.2.2
#tool nuget:?package=Fig.Aspire&version=3.2.2
Fig.Aspire
.NET Aspire hosting integration for Fig - Centralized Settings Management for .NET Microservices.
Installation
dotnet add package Fig.Aspire
Usage
Adding Fig API
Add the Fig API container to your Aspire AppHost:
var builder = DistributedApplication.CreateBuilder(args);
var figApi = builder.AddFigApi("fig-api");
builder.AddProject<Projects.MyService>("myservice")
.WithReference(figApi);
builder.Build().Run();
When you use WithReference(figApi), an environment variable named FIG_API_URI will be automatically injected into your service with the Fig API's HTTP endpoint URL.
Adding Fig Web
Add the Fig Web container for the web-based configuration UI:
var builder = DistributedApplication.CreateBuilder(args);
var figApi = builder.AddFigApi("fig-api");
var figWeb = builder.AddFigWeb("fig-web")
.WithFigApiReference(figApi);
builder.Build().Run();
Container Images
This integration uses the following container images from Docker Hub:
- Fig API:
mzbrau/fig-api - Fig Web:
mzbrau/fig-web
Environment Variables
When using WithReference(figApi) on your project, the following environment variable is injected:
FIG_API_URI: The HTTP URL of the Fig API endpoint
More Information
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Aspire.Hosting.AppHost (>= 13.1.0)
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 |
|---|---|---|
| 3.7.2 | 178 | 5/22/2026 |
| 3.7.1 | 107 | 5/17/2026 |
| 3.7.0 | 127 | 5/11/2026 |
| 3.6.1 | 121 | 5/7/2026 |
| 3.6.0 | 144 | 5/3/2026 |
| 3.5.1 | 265 | 4/22/2026 |
| 3.5.0 | 123 | 4/19/2026 |
| 3.4.3 | 148 | 4/15/2026 |
| 3.4.2 | 137 | 4/13/2026 |
| 3.4.1 | 132 | 4/13/2026 |
| 3.4.0 | 138 | 3/31/2026 |
| 3.3.0 | 240 | 2/9/2026 |
| 3.2.4 | 161 | 1/29/2026 |
| 3.2.2 | 124 | 1/29/2026 |
| 3.1.1 | 297 | 12/29/2025 |