-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[Pre4] Final round of Blazor content/WN updates #35433
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
@ilonatommy ... The Not Found content is on this wrap-up PR. One question comes to mind ... For the |
@ilonatommy ... We've hit release, so I'm going to go ahead with this. You can let me know here if you have update requests. Also, there's that one question that I asked in the last comment. |
No, they are left there for possible future use, currently they do not play any role. Sorry for the delay, I will review now and post comments. Edit: I read it and I have no comments, everything looks awesome. Out of curiosity, why do we copy-paste the same content to aspnetcore/release-notes/aspnetcore-10/includes/blazor.md and aspnetcore/blazor/fundamentals/routing.md? Cross-linking these sections would not look good? |
It depends on the coverage. If the new feature coverage is somewhat short, I'll often place a copy into both places and not bother with a cross-link. If the coverage is long and/or has long examples, I tend to place a general description into the What's New article and cross-link to the reference article content. If you ever feel that the What's New article should have more or less coverage for a feature, let me know 👂. I can move coverage one way or the other. If the coverage is different, I always place a cross-link. WRT |
... and Dan said something that we should probably place for
I'll keep that in mind for a patch PR today after I hear back from you. |
I believe the use cases for custom router would be (I have not tested any of these):
|
I see, but those use cases are going to result in Not Found being triggered. I'm not clear on what custom code would be placed into the |
Right. Then beyond logging for diagnostic or telemetry I can see only a possibility of passing the data to NotfoundPage.razor via a service. When we want to display custom content, e.g. "Movie was not found" when NotFound was called on // Router.razor
// Movie.razor
// User.razor
// NotFoundContextService.cs
|
Fantastic! 🎉 ... I'll place that on a PR UPDATE: It will be tomorrow (Thursday). I got bogged down in other work today ⛰️⛏️😅. |
I don't remember where but you asked somewhere if |
Addresses #34437
Addresses #35217
Fixes #35233
Fixes #35231
Fixes #35439
This PR will be held until P4 releases.
Internal previews