Skip to content

F5 to run Blazor WebAssembly App project, register and log in on the web page, then log out, click login again, the web page will be crash. #74064

@v-mikedu

Description

@v-mikedu

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Browser suddenly closes and debugging stops
https://devdiv.visualstudio.com/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/wit/attachments/a0f53a8d-47fc-4de4-8cc9-c6505b350910?fileName=Mike1.gif

Expected Behavior

Browser should allow us to login again

Steps To Reproduce

  1. Open a new VS instance > Blazor WebAssembly App > .NET 7.0 > change authentication to "Individual User Accounts" > Check "ASP.NET Core hosted" checkbox> Create
  2. F5 > Register a new user > login > Logout > login again

NOTE: Found in VS 17.4 P1 + SDK 7.0 P7 from
image
also repro in VS 17.4 P2 + SDK 7.0 RC1 from
image

Exceptions (if any)

No response

.NET Version

7.0.100-preview.7.22377.5

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions