Skip to content

Provide a way of hiding http endpoints from the dashboard (for GRPC endpoints for example) #6454

@vmykagapuz

Description

@vmykagapuz

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install SDK 9.0 GA
  3. Install Aspire 9.0 GA
  4. Install VS or VSCode

REPRO STEPS

  1. Create .NET Project > Aspire Starter App > give a name 'AspireApp1'
  2. Right-click the web project > Open in Integrated Terminal > add aspire component
    dotnet add package Aspire.Qdrant.Client --version 9.0.0
  3. Right-click the xxx.AppHost project > Open in Integrated Terminal > add aspire component
    dotnet add package Aspire.Hosting.Qdrant --version 9.0.0
  4. In the Program.cs of web project, type following codes:
    builder.AddQdrantClient("qdrant");
  5. Open appsettings.json of xxx.AppHost project, add ConnectionStrings configuration section:
	{
	  "ConnectionStrings": {
	    "qdrant": "Endpoint=http://localhost:6334;Key=123456!@#$%"
	  }
	}
  1. Open Program.cs of xxx.AppHost project, add following codes:
	var qdrant = builder.AddQdrant("qdrant");
	
	var myService = builder.AddProject<Projects.MyService>()
	                       .WithReference(qdrant);
  1. Build and start debugging

ACTUAL
The endpoints shows different results.
Image
Image
Image

EXPECTED
The endpoints should have the same results.

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions