BellaBaxter.Aspire.Configuration
0.1.1-preview.97
See the version list below for details.
dotnet add package BellaBaxter.Aspire.Configuration --version 0.1.1-preview.97
NuGet\Install-Package BellaBaxter.Aspire.Configuration -Version 0.1.1-preview.97
<PackageReference Include="BellaBaxter.Aspire.Configuration" Version="0.1.1-preview.97" />
<PackageVersion Include="BellaBaxter.Aspire.Configuration" Version="0.1.1-preview.97" />
<PackageReference Include="BellaBaxter.Aspire.Configuration" />
paket add BellaBaxter.Aspire.Configuration --version 0.1.1-preview.97
#r "nuget: BellaBaxter.Aspire.Configuration, 0.1.1-preview.97"
#:package BellaBaxter.Aspire.Configuration@0.1.1-preview.97
#addin nuget:?package=BellaBaxter.Aspire.Configuration&version=0.1.1-preview.97&prerelease
#tool nuget:?package=BellaBaxter.Aspire.Configuration&version=0.1.1-preview.97&prerelease
BellaBaxter.Aspire.Configuration
.NET Aspire AppHost integration for Bella Baxter.
Adds Bella Baxter as a named Aspire resource and wires the API connection into your services automatically — no manual URL or API key configuration needed in each project.
Use this package when you have a deployed Bella Baxter instance.
To run the full Bella stack locally inside Aspire, use BellaBaxter.Aspire.Host instead.
Installation
# AppHost project only
dotnet add package BellaBaxter.Aspire.Configuration
Quickstart
AppHost Program.cs:
var bella = builder.AddBellaBaxter("bella", environmentSlug: "development");
builder.AddProject<Projects.MyApi>("api")
.WithBellaSecrets(bella);
builder.AddProject<Projects.MyWorker>("worker")
.WithBellaSecrets(bella);
Set the API key in AppHost user secrets:
dotnet user-secrets set "Parameters:bella-api-key" "bax-..."
Target project (MyApi, MyWorker, etc.) — no extra configuration needed, connection vars are injected:
// Api/Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Configuration.AddBellaSecrets(); // reads BellaBaxter__* env vars injected by WithBellaSecrets()
What WithBellaSecrets injects
| Variable | Value |
|---|---|
BellaBaxter__BaxterUrl |
Resolved Bella API endpoint from the Aspire resource |
BellaBaxter__EnvironmentSlug |
The slug passed to AddBellaBaxter(environmentSlug: ...) |
BellaBaxter__ApiKey |
From the Aspire secret parameter |
AddBellaSecrets() in the target project reads these variables automatically — the app connects without any hardcoded config.
When to use this vs BellaBaxter.Aspire.Host
| Package | Use when |
|---|---|
BellaBaxter.Aspire.Configuration (this) |
You have a deployed Bella instance — just wire the URL into your services |
BellaBaxter.Aspire.Host |
You want the full Bella stack running locally inside Aspire (no deployed instance needed) |
Aspire dashboard
AddBellaBaxter adds a named resource visible in the Aspire dashboard — endpoints, logs, and health status
for the Bella API are shown alongside your own services.
| 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 (>= 13.4.6)
- BellaBaxter.AspNet.Configuration (>= 0.1.1-preview.97)
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 |
|---|---|---|
| 0.1.1-preview.131 | 42 | 10/10/2026 |
| 0.1.1-preview.130 | 36 | 10/9/2026 |
| 0.1.1-preview.129 | 40 | 10/8/2026 |
| 0.1.1-preview.128 | 39 | 10/7/2026 |
| 0.1.1-preview.127 | 38 | 10/6/2026 |
| 0.1.1-preview.126 | 49 | 10/5/2026 |
| 0.1.1-preview.124 | 57 | 10/2/2026 |
| 0.1.1-preview.123 | 56 | 10/2/2026 |
| 0.1.1-preview.122 | 61 | 10/2/2026 |
| 0.1.1-preview.121 | 63 | 9/28/2026 |
| 0.1.1-preview.119 | 61 | 9/28/2026 |
| 0.1.1-preview.118 | 63 | 9/27/2026 |
| 0.1.1-preview.117 | 76 | 9/26/2026 |
| 0.1.1-preview.116 | 59 | 9/25/2026 |
| 0.1.1-preview.115 | 58 | 9/22/2026 |
| 0.1.1-preview.114 | 71 | 9/22/2026 |
| 0.1.1-preview.113 | 62 | 9/21/2026 |
| 0.1.1-preview.112 | 64 | 9/21/2026 |
| 0.1.1-preview.111 | 63 | 9/18/2026 |
| 0.1.1-preview.97 | 65 | 9/9/2026 |