Mango.Aspire.Hosting
0.3.5
See the version list below for details.
dotnet add package Mango.Aspire.Hosting --version 0.3.5
NuGet\Install-Package Mango.Aspire.Hosting -Version 0.3.5
<PackageReference Include="Mango.Aspire.Hosting" Version="0.3.5" />
<PackageVersion Include="Mango.Aspire.Hosting" Version="0.3.5" />
<PackageReference Include="Mango.Aspire.Hosting" />
paket add Mango.Aspire.Hosting --version 0.3.5
#r "nuget: Mango.Aspire.Hosting, 0.3.5"
#:package Mango.Aspire.Hosting@0.3.5
#addin nuget:?package=Mango.Aspire.Hosting&version=0.3.5
#tool nuget:?package=Mango.Aspire.Hosting&version=0.3.5
Mango.Aspire.Hosting
Aspire integration for Mango — a friendly MongoDB workbench. Adds the Mango UI alongside your MongoDB resource.
dotnet add package Mango.Aspire.Hosting
Usage
var builder = DistributedApplication.CreateBuilder(args);
var mongo = builder.AddMongoDB("mongo")
.WithLifetime(ContainerLifetime.Persistent);
mongo.WithMango(); // ← drops in the Mango UI
builder.Build().Run();
WithMango() runs the published container image (ghcr.io/philbir/mango:latest) on port 5180 and wires MONGO_URL from the Mongo resource's connection string. Defaults to standalone mode (single connection, connection-manager UI hidden) since Aspire always provides the Mongo container — pass standalone: false for the full multi-connection workbench.
Options
| Parameter | Default | |
|---|---|---|
databaseName |
(URI path) | Default database to open. |
port |
5180 |
Host port for the UI. |
name |
"mango" |
Aspire resource name. |
image |
"ghcr.io/philbir/mango" |
Override to pin a build or use a private registry. |
tag |
"latest" |
Image tag. |
standalone |
true |
Set false to expose the multi-connection manager. |
Configuration via user-secrets
dotnet user-secrets set "Mango:Ai:Provider" "copilot"
dotnet user-secrets set "Mango:Ai:Model" "claude-sonnet-4.5"
dotnet user-secrets set "Mango:MasterKey" "$(openssl rand -base64 32)"
Forwarded keys: Mango:Ai:Provider, Mango:Ai:ApiKey, Mango:Ai:BaseUrl, Mango:Ai:Model, Mango:Ai:GitHubToken, Mango:MasterKey.
License
MIT
| 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.2.3)
- Aspire.Hosting.MongoDB (>= 13.2.3)
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.4.0-p.1 | 48 | 5/14/2026 |
| 0.3.6 | 96 | 5/11/2026 |
| 0.3.5 | 90 | 5/11/2026 |
| 0.3.4 | 88 | 5/11/2026 |
| 0.3.3 | 90 | 5/5/2026 |
| 0.3.2 | 83 | 5/4/2026 |
| 0.3.1 | 85 | 5/4/2026 |
| 0.3.0 | 89 | 5/4/2026 |
| 0.2.8 | 87 | 5/4/2026 |
| 0.2.7 | 91 | 5/4/2026 |
| 0.2.6 | 97 | 5/3/2026 |
| 0.2.5 | 86 | 5/3/2026 |
| 0.2.4 | 87 | 5/3/2026 |
| 0.2.3 | 89 | 5/3/2026 |
| 0.2.2 | 90 | 5/3/2026 |
| 0.2.1 | 87 | 5/3/2026 |
| 0.2.0 | 87 | 5/3/2026 |
| 0.1.1-beta.2 | 53 | 5/3/2026 |