Aspire.Hosting.Milvus
13.6.4
Prefix Reserved
dotnet add package Aspire.Hosting.Milvus --version 13.6.4
NuGet\Install-Package Aspire.Hosting.Milvus -Version 13.6.4
<PackageReference Include="Aspire.Hosting.Milvus" Version="13.6.4" />
<PackageVersion Include="Aspire.Hosting.Milvus" Version="13.6.4" />
<PackageReference Include="Aspire.Hosting.Milvus" />
paket add Aspire.Hosting.Milvus --version 13.6.4
#r "nuget: Aspire.Hosting.Milvus, 13.6.4"
#:package Aspire.Hosting.Milvus@13.6.4
#addin nuget:?package=Aspire.Hosting.Milvus&version=13.6.4
#tool nuget:?package=Aspire.Hosting.Milvus&version=13.6.4
Milvus hosting integration
Use this integration to model, configure, and orchestrate a Milvus vector database resource in an Aspire solution.
Getting started
Add the integration
From your AppHost directory, add the Aspire.Hosting.Milvus integration with the Aspire CLI:
aspire add Aspire.Hosting.Milvus
Usage example
In the AppHost, add a Milvus resource and reference it from another resource with either C# or TypeScript:
C#
var milvus = builder.AddMilvus("milvus");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(milvus);
TypeScript
const milvus = await builder.addMilvus("milvus");
const myService = await builder.addNodeApp("myService", "../my-service", "server.js")
.withReference(milvus);
Connection Properties
When you reference a Milvus resource using WithReference, the following connection properties are made available to the consuming project:
Milvus server
The Milvus server resource exposes the following connection properties:
| Property Name | Description |
|---|---|
Host |
The hostname or IP address of the Milvus server |
Port |
The gRPC port exposed by the Milvus server |
Token |
The authentication token, with the format root:{ApiKey} |
Uri |
The gRPC endpoint URI, with the format http://{Host}:{Port} |
Milvus database
The Milvus database resource combines the server properties above and adds the following connection property:
| Property Name | Description |
|---|---|
DatabaseName |
The Milvus database name |
Aspire exposes each property as an environment variable named [RESOURCE]_[PROPERTY]. For instance, the Uri property of a resource called db1 becomes DB1_URI.
Additional documentation
- https://aspire.dev/integrations/gallery/
- https://aspire.dev/integrations/databases/milvus/milvus-host/
- https://milvus.io/docs
Feedback & contributing
https://github.com/microsoft/aspire
*Milvus and the Milvus logo are used with permission from the Milvus project. All rights reserved by LF AI & Data foundation.
| 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 was computed. 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 was computed. 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. |
-
net8.0
- Aspire.Hosting (>= 13.6.4)
- AspNetCore.HealthChecks.Uris (>= 9.0.0)
- Google.Protobuf (>= 3.36.1)
- Grpc.AspNetCore (>= 2.83.0)
- Grpc.Net.ClientFactory (>= 2.83.0)
- Grpc.Tools (>= 2.83.0)
- Hex1b (>= 0.168.0)
- KubernetesClient (>= 19.0.2)
- MessagePack (>= 2.5.307)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.12)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 10.0.12)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 8.0.31)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.12)
- Microsoft.Extensions.Hosting (>= 10.0.12)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Microsoft.Extensions.Options (>= 10.0.12)
- Microsoft.Extensions.Primitives (>= 10.0.12)
- ModelContextProtocol (>= 1.4.1)
- Newtonsoft.Json (>= 13.0.4)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.17.0)
- OpenTelemetry.Extensions.Hosting (>= 1.17.0)
- Polly.Core (>= 8.7.0)
- Semver (>= 3.0.0)
- StreamJsonRpc (>= 2.25.29)
- System.IO.Hashing (>= 10.0.12)
- System.Text.Json (>= 10.0.12)
- YamlDotNet (>= 18.1.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 |
|---|---|---|
| 13.6.4 | 68 | 10/24/2026 |
| 13.6.3 | 86 | 10/21/2026 |
| 13.6.2 | 109 | 10/20/2026 |
| 13.6.1 | 176 | 10/7/2026 |
| 13.6.0 | 145 | 9/29/2026 |
| 13.5.4 | 168 | 9/15/2026 |
| 13.5.3 | 219 | 8/25/2026 |
| 13.5.2 | 266 | 8/21/2026 |
| 13.5.1 | 163 | 8/20/2026 |
| 13.5.0 | 166 | 8/18/2026 |
| 13.4.6 | 2,265 | 6/19/2026 |
| 13.4.5 | 164 | 6/17/2026 |
| 13.4.4 | 155 | 6/15/2026 |
| 13.4.3 | 176 | 6/8/2026 |
| 13.4.2 | 156 | 6/3/2026 |
| 13.4.1 | 156 | 6/3/2026 |
| 13.4.0 | 208 | 6/1/2026 |
| 13.3.5 | 165 | 5/21/2026 |
| 13.3.4 | 143 | 5/19/2026 |
| 13.3.3 | 160 | 5/15/2026 |