Aspire.Hosting.Qdrant
13.6.1
Prefix Reserved
dotnet add package Aspire.Hosting.Qdrant --version 13.6.1
NuGet\Install-Package Aspire.Hosting.Qdrant -Version 13.6.1
<PackageReference Include="Aspire.Hosting.Qdrant" Version="13.6.1" />
<PackageVersion Include="Aspire.Hosting.Qdrant" Version="13.6.1" />
<PackageReference Include="Aspire.Hosting.Qdrant" />
paket add Aspire.Hosting.Qdrant --version 13.6.1
#r "nuget: Aspire.Hosting.Qdrant, 13.6.1"
#:package Aspire.Hosting.Qdrant@13.6.1
#addin nuget:?package=Aspire.Hosting.Qdrant&version=13.6.1
#tool nuget:?package=Aspire.Hosting.Qdrant&version=13.6.1
Qdrant hosting integration
Use this integration to model, configure, and orchestrate a Qdrant vector database resource in an Aspire solution.
Getting started
Add the integration
From your AppHost directory, add the Aspire.Hosting.Qdrant integration with the Aspire CLI:
aspire add Aspire.Hosting.Qdrant
Usage example
In the AppHost, add a Qdrant resource and reference it from another resource with either C# or TypeScript:
C#
var qdrant = builder.AddQdrant("qdrant");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(qdrant);
TypeScript
const qdrant = await builder.addQdrant("qdrant");
const myService = await builder.addNodeApp("myService", "../my-service", "server.js")
.withReference(qdrant);
Connection Properties
When you reference a Qdrant resource using WithReference, the following connection properties are made available to the consuming project:
Qdrant server
The Qdrant server resource exposes the following connection properties:
| Property Name | Description |
|---|---|
GrpcHost |
The gRPC hostname of the Qdrant server |
GrpcPort |
The gRPC port of the Qdrant server |
HttpHost |
The HTTP hostname of the Qdrant server |
HttpPort |
The HTTP port of the Qdrant server |
ApiKey |
The API key for authentication |
Uri |
The gRPC connection URI, with the format http://{GrpcHost}:{GrpcPort} |
HttpUri |
The HTTP connection URI, with the format http://{HttpHost}:{HttpPort} |
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/qdrant/qdrant-host/
- https://qdrant.tech/documentation
Feedback & contributing
https://github.com/microsoft/aspire
Qdrant, and the Qdrant logo are trademarks or registered trademarks of Qdrant Solutions GmbH of Germany, and used with their permission.
| 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.1)
- 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.302)
- 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)
- Qdrant.Client (>= 1.19.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 (2)
Showing the top 2 popular GitHub repositories that depend on Aspire.Hosting.Qdrant:
| Repository | Stars |
|---|---|
|
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
|
|
|
foxminchan/BookWorm
An Aspire reference architecture for cloud-native microservices and agentic AI with MCP, A2A & AG-UI
|
| Version | Downloads | Last Updated |
|---|---|---|
| 13.6.1 | 50 | 10/7/2026 |
| 13.6.0 | 10,007 | 9/29/2026 |
| 13.5.4 | 2,581 | 9/15/2026 |
| 13.5.3 | 2,241 | 8/25/2026 |
| 13.5.2 | 589 | 8/21/2026 |
| 13.5.1 | 376 | 8/20/2026 |
| 13.5.0 | 1,320 | 8/18/2026 |
| 13.4.6 | 10,076 | 6/19/2026 |
| 13.4.5 | 500 | 6/17/2026 |
| 13.4.4 | 569 | 6/15/2026 |
| 13.4.3 | 1,612 | 6/8/2026 |
| 13.4.2 | 585 | 6/3/2026 |
| 13.4.1 | 205 | 6/3/2026 |
| 13.4.0 | 2,089 | 6/1/2026 |
| 13.3.5 | 1,726 | 5/21/2026 |
| 13.3.4 | 343 | 5/19/2026 |
| 13.3.3 | 1,550 | 5/15/2026 |
| 13.3.2 | 356 | 5/14/2026 |
| 13.3.1 | 259 | 5/12/2026 |
| 13.3.0 | 802 | 5/7/2026 |