dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

Home Page:https://asp.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microsoft.AspNetCore.Components.NavigationException:“Exception_WasThrown”

HuaFangYun opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Microsoft.AspNetCore.Components.NavigationException:“Exception_WasThrown”
BlazorApp1.zip
Can you tell me if this is the right way to write? How to solve the login jump exception, Thank you
image
image

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

8.0.300

Anything else?

No response

Thanks for reaching out. NavigationException does not indicate an error, but instead signals to the framework that a redirect should occur. Are you seeing this error because it's being caught in your own code?

Also, if you think this is a bug in the framework, please provide us a minimal repro project, hosted on GitHub as a public GitHub repository. We're not able to download zip files from issues. Thanks!

Thank you for filing this issue. In order for us to investigate this issue, please provide a minimal repro project that illustrates the problem without unnecessary code. Please share with us in a public GitHub repo because we cannot open ZIP attachments, and don't include any confidential content.

Hi @HuaFangYun. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.