ChromaDotNet.Aspire.Hosting
0.2.10
Prefix Reserved
CommunityToolkit.Aspire.Hosting.Chroma
Additional DetailsMoved to CommunityToolkit.Aspire.Hosting.Chroma, in the Aspire Community Toolkit. Until Aspire 17 is on nuget.org, an AppHost on Aspire 13 can keep using this package.
dotnet add package ChromaDotNet.Aspire.Hosting --version 0.2.10
NuGet\Install-Package ChromaDotNet.Aspire.Hosting -Version 0.2.10
<PackageReference Include="ChromaDotNet.Aspire.Hosting" Version="0.2.10" />
<PackageVersion Include="ChromaDotNet.Aspire.Hosting" Version="0.2.10" />
<PackageReference Include="ChromaDotNet.Aspire.Hosting" />
paket add ChromaDotNet.Aspire.Hosting --version 0.2.10
#r "nuget: ChromaDotNet.Aspire.Hosting, 0.2.10"
#:package [email protected]
#addin nuget:?package=ChromaDotNet.Aspire.Hosting&version=0.2.10
#tool nuget:?package=ChromaDotNet.Aspire.Hosting&version=0.2.10
ChromaDotNet.Aspire.Hosting
Moved to CommunityToolkit.Aspire.Hosting.Chroma, in the Aspire Community Toolkit. This package is deprecated and gets no more releases.
If your AppHost is on Aspire 13, this package still works: CommunityToolkit.Aspire.Hosting.Chroma needs Aspire 17.
Moving
The namespaces and API are the same. Change only the package reference:
dotnet remove package ChromaDotNet.Aspire.Hosting
dotnet add package CommunityToolkit.Aspire.Hosting.Chroma --prerelease
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 accepted in the Aspire Community Toolkit (CommunityToolkit/Aspire#2219), published by ChromaDotNet until the toolkit shipped 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 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)
- MessagePack (>= 2.5.303)
-
net8.0
- Aspire.Hosting (>= 13.6.0)
- MessagePack (>= 2.5.303)
-
net9.0
- Aspire.Hosting (>= 13.6.0)
- MessagePack (>= 2.5.303)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
