dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.78k stars 440 forks source link

[AzureTools][Aspire] An extra webpage opens in addition to the dashboard when F5ing an ASP.NET Web Application(.NET Framework) MVC/Web API project #6229

Open v-mengwe opened 1 week ago

v-mengwe commented 1 week ago

Clean machine: Win11 x64 23h2 ENU VS Version: VS 17.12.0 Preview 3.0 [35409.206.d17.12] Aspire Version: 9.0.0-rc.1.24509.13 Apply NuGet Feeds Podman Desktop/Docker Desktop

REPRO STEPS:

  1. Create a new ASP.NET Web Application(.NET Framework) MVC/Web API project -> Right click on the project -> Add -> .NET Aspire Orchestrator Support -> OK.
  2. F5.
  3. Check whether no extra webpage opens in addition to the dashboard.

Expect: No extra webpage opens in addition to the dashboard.

Actual: An extra webpage opens in addition to the dashboard. Image

More Info: Click Restart in the dashboard, the restart is successful and a new webpage is opened.

bradygaster commented 2 days ago

I've tested this e2e out and validated the report behaves as described. @vijayrkn - is this a known item? I also noticed there's no link in the dashboard to access the web app once everything is running. @davidfowl / @mitchdenny - is there a way to pump the endpoint for a FX app into the host?