-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Enhance Blazor Not Found responses documentation #36224
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the ASP.NET Core 10 release notes for Blazor by clarifying how apps without Blazor’s router can handle Not Found responses and adjusts the illustrative code snippet accordingly.
- Clarifies two supported approaches (StatusCodePages re-execution and router event handling) for rendering Not Found pages.
- Refines language and simplifies the sample by replacing reflection with a helper method to produce the Not Found path.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ilonatommy ... How about this (last commit)? |
Clarify the precedence of Not Found path handling in Blazor.
Just a couple of tiny NITs that I updated on the last commit ...
|
Ok, cool. 👍 I'll circle back around to the article updates right after we get the Routing and Nav article split on #36145. |
Addresses #36223
Ilona ... Two things ......
See my small code changes ... see if they make sense or if I should revert them back to your suggested code.
Let's do this in two steps (this is an "addresses" PR) because I'm waiting on @danroth27 to review Split the Routing & Navigation article (
dotnet/AspNetCore.Docs
#36145). That PR is a BeAsT 👹 with a lot of content moving around, so let's only work the release notes side on this PR. I'll open a new PR after 36145 merges to close out your issue.Thx! That speeds us UP. 🏃♂️Now, if I could just learn how to write software properly! 🙈😆