BellaBaxter.Aspire.Configuration 0.1.1-preview.36

This is a prerelease version of BellaBaxter.Aspire.Configuration.
dotnet add package BellaBaxter.Aspire.Configuration --version 0.1.1-preview.36
                    
NuGet\Install-Package BellaBaxter.Aspire.Configuration -Version 0.1.1-preview.36
                    
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="BellaBaxter.Aspire.Configuration" Version="0.1.1-preview.36" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BellaBaxter.Aspire.Configuration" Version="0.1.1-preview.36" />
                    
Directory.Packages.props
<PackageReference Include="BellaBaxter.Aspire.Configuration" />
                    
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 BellaBaxter.Aspire.Configuration --version 0.1.1-preview.36
                    
#r "nuget: BellaBaxter.Aspire.Configuration, 0.1.1-preview.36"
                    
#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 BellaBaxter.Aspire.Configuration@0.1.1-preview.36
                    
#: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=BellaBaxter.Aspire.Configuration&version=0.1.1-preview.36&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BellaBaxter.Aspire.Configuration&version=0.1.1-preview.36&prerelease
                    
Install as a Cake Tool

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 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. 
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
0.1.1-preview.36 36 3/30/2026
0.1.1-preview.35 33 3/30/2026
0.1.1-preview.34 34 3/30/2026
0.1.1-preview.33 34 3/30/2026
0.1.1-preview.32 38 3/30/2026
0.1.1-preview.31 33 3/30/2026
0.1.1-preview.30 44 3/27/2026
0.1.1-preview.29 36 3/27/2026
0.1.1-preview.28 36 3/27/2026
0.1.1-preview.27 33 3/27/2026
0.1.1-preview.26 33 3/26/2026
0.1.1-preview.23 36 3/26/2026
0.1.1-preview.22 34 3/26/2026
0.1.1-preview.21 32 3/26/2026
0.1.1-preview.20 31 3/26/2026
0.1.1-preview.19 31 3/26/2026
0.1.1-preview.18 37 3/26/2026
0.1.1-preview.17 37 3/25/2026
0.1.1-preview.16 38 3/25/2026
0.1.1-preview.15 34 3/25/2026
Loading failed