-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Upgrade guide change - NavigationException
removal
#61811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It was resolved in the docs on dotnet/AspNetCore.Docs#34892. However, the bit on the |
Don't we have a separate document that would contain the change log in the context of upgrading the app? This is a breaking change. I had a feeling we have a special place in docs for these.
Yes, please, the fallback is important. |
You know, like this https://learn.microsoft.com/en-us/aspnet/core/migration/80-90?view=aspnetcore-9.0 but for 9->10. Edit: |
NavigationException
removalNavigationException
removal
Yes, that's right for our migration coverage. However, the formal breaking changes log is maintained by the .NET docs team. For .NET 10 ... https://learn.microsoft.com/en-us/dotnet/core/compatibility/10.0 So far, there's no "ASP.NET Core" section, but you can see one for 9.0 at ... https://learn.microsoft.com/en-us/dotnet/core/compatibility/9.0#aspnet-core For migration, yes, I'll make a note of it in a new documentation issue for our upcoming Migration article and reference this issue. UPDATE: Done! 👍 ... dotnet/AspNetCore.Docs#35360. WRT reference content, I don't think we described the internal behavior of the redirect in the Blazor Routing article. I'll research it and report back, probably tomorrow (Wednesday). I added an issue to get the behavior and switch covered for Pre4 ... dotnet/AspNetCore.Docs#35361. |
I confirmed that we don't describe the internal behaviors. We never mentioned the The issues are open and cross-linked into .NET 10 docs tracking and the Blazor.Docs project "10.0" column, so they won't get lost. ... and I've just noted that it will be for P5. |
We'll need to provide specific guidance on how to update the |
PR: #61306.
Released in: 10.0.0-preview4.
Change description
Previously:
NavigationManager.Redirect
in SSR was throwing an internal exception, interrupting the call stack execution.Currently:
NavigationManager.Redirect
in SSR rises a redirection event that the renderer is subscribed to. Code execution flow is uninterupted.Fallback to the previous way of working:
@guardrex
The text was updated successfully, but these errors were encountered: