-
Notifications
You must be signed in to change notification settings - Fork 720
Closed
Closed
Feature
Copy link
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone
Description
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install SDK 9.0 GA
- Install Aspire 9.0 GA
- Install VS or VSCode
REPRO STEPS
- Create .NET Project > Aspire Starter App > give a name 'AspireApp1'
- Right-click the web project > Open in Integrated Terminal > add aspire component
•dotnet add package Aspire.Qdrant.Client --version 9.0.0 - Right-click the xxx.AppHost project > Open in Integrated Terminal > add aspire component
•dotnet add package Aspire.Hosting.Qdrant --version 9.0.0 - In the Program.cs of web project, type following codes:
builder.AddQdrantClient("qdrant"); - Open appsettings.json of xxx.AppHost project, add ConnectionStrings configuration section:
{
"ConnectionStrings": {
"qdrant": "Endpoint=http://localhost:6334;Key=123456!@#$%"
}
}
- Open Program.cs of xxx.AppHost project, add following codes:
var qdrant = builder.AddQdrant("qdrant");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(qdrant);
- Build and start debugging
ACTUAL
The endpoints shows different results.



EXPECTED
The endpoints should have the same results.
Metadata
Metadata
Assignees
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication