ChromaDotNet.Aspire.Hosting
0.2.3
Prefix Reserved
dotnet add package ChromaDotNet.Aspire.Hosting --version 0.2.3
NuGet\Install-Package ChromaDotNet.Aspire.Hosting -Version 0.2.3
<PackageReference Include="ChromaDotNet.Aspire.Hosting" Version="0.2.3" />
<PackageVersion Include="ChromaDotNet.Aspire.Hosting" Version="0.2.3" />
<PackageReference Include="ChromaDotNet.Aspire.Hosting" />
paket add ChromaDotNet.Aspire.Hosting --version 0.2.3
#r "nuget: ChromaDotNet.Aspire.Hosting, 0.2.3"
#:package ChromaDotNet.Aspire.Hosting@0.2.3
#addin nuget:?package=ChromaDotNet.Aspire.Hosting&version=0.2.3
#tool nuget:?package=ChromaDotNet.Aspire.Hosting&version=0.2.3
ChromaDotNet.Aspire.Hosting
Adds a Chroma container to an Aspire AppHost: the chromadb/chroma:1.5.9 image, with a health check on /api/v2/heartbeat.
Website: chromadotnet.org
dotnet add package ChromaDotNet.Aspire.Hosting
var chroma = builder.AddChroma("chroma")
.WithDataVolume();
builder.AddProject<Projects.ApiService>("api")
.WithReference(chroma)
.WaitFor(chroma);
WithDataVolume and WithDataBindMount mount /data, where Chroma keeps its database.
AddChroma takes an optional port, the host port of the container; without it the port is assigned at run time. The resource gives the connection string Endpoint=http://{host}:{port} and the connection properties Host, Port and Uri. The methods are exported to TypeScript AppHosts too (addChroma, withDataVolume, withDataBindMount), as in the example.
This is the Chroma hosting integration proposed to the Community Toolkit for Aspire (CommunityToolkit/Aspire#2219), published by ChromaDotNet until the toolkit ships it as CommunityToolkit.Aspire.Hosting.Chroma. The API and namespaces are the same, so moving to that package only changes the package reference. Community project, not affiliated with the .NET Foundation, the Community Toolkit or Chroma.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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.6.0)
-
net8.0
- Aspire.Hosting (>= 13.6.0)
-
net9.0
- Aspire.Hosting (>= 13.6.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 |
|---|---|---|
| 0.2.3 | 0 | 10/6/2026 |
