microsoft / microsoft/aspire

Aspire project with Blazor WASM/server project opens by itself

Open
#3,145 23 comments 6 reactions 0 assignees View on GitHub
area-tooling blazor-wasm
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

I believe this started happening since Preview 4

Steps to reproduce:

- Create a new Aspire project, everything default
- When you launch this, only the dashboard will open as expected
- Add a new Blazor project to the solution, make sure to set Interactive render mode to "Auto", so that you get the 2 projects, let it enlist in Aspire orchestration
- Launch the dashboard and wait a minute, the new Blazor app will also open in a new window, with a random port. Not as expected

This only happens with the Blazor template that gives you the WASM and Server projects, not when you selected either WASM or Server

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.