Skip to content

[AspireE2E] When running the Aspire 9.4 web project with replicas, the resource endpoints are duplicated and do not align with the original count. #10529

@vmykagapuz

Description

@vmykagapuz

REGRESSION INFO

  1. Worked in Aspire 9.3.1

INSTALL STEPS

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install VS 17.14.9
  3. Add dotnet9internalfeed
  4. Install the latest Aspire 9.4 build from release channel

REPRO STEPS

  1. Open VS > Create a new project > ASP.NET Core Web App (Razor Pages) > .NET 8.0/9.0 framework > Check 'Enlist in .NET Aspire orchestration' > Aspire version (9.4) > Create
  2. Add code .WithReplicas(2) to AppHost.cs file of project and save
  3. Build and F5
  4. Check the endpoints of the replicas

ACTUAL
The resource endpoints are duplicated.
Image

EXPECTED
The endpoints should be aligned with the original count.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationregression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions