Skip to content

Conversation

guardrex
Copy link
Collaborator

@guardrex guardrex commented Aug 11, 2025

Fixes #35918
Fixes #35795
Fixes #35861
Fixes #35197
Fixes #35745
Fixes #35920
Fixes #35921
Fixes #35922

NOTES

  • PU engineers can look at the whole PR or find the commit by name 👇 that matches their area(s) of responsibility.
  • There are some Copilot suggestions for PU-supplied content to consider. Please give me a 👍 if they're good, and I'll commit them at the right time.

It doesn't seem like this one requires doc updates (implementation detail) ...


Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
aspnetcore/blazor/components/integration.md aspnetcore/blazor/components/integration
aspnetcore/blazor/components/layouts.md aspnetcore/blazor/components/layouts
aspnetcore/blazor/components/lifecycle.md aspnetcore/blazor/components/lifecycle
aspnetcore/blazor/components/render-modes.md aspnetcore/blazor/components/render-modes
aspnetcore/blazor/debug.md aspnetcore/blazor/debug
aspnetcore/blazor/forms/input-components.md aspnetcore/blazor/forms/input-components
aspnetcore/blazor/fundamentals/routing.md aspnetcore/blazor/fundamentals/routing
aspnetcore/blazor/host-and-deploy/server/index.md aspnetcore/blazor/host-and-deploy/server/index
aspnetcore/blazor/progressive-web-app/index.md aspnetcore/blazor/progressive-web-app/index
aspnetcore/blazor/security/index.md aspnetcore/blazor/security/index
aspnetcore/blazor/state-management/prerendered-state-persistence.md aspnetcore/blazor/state-management/prerendered-state-persistence
aspnetcore/blazor/state-management/server.md aspnetcore/blazor/state-management/server
aspnetcore/client-side/dotnet-interop.md aspnetcore/client-side/dotnet-interop
aspnetcore/mvc/controllers/routing.md aspnetcore/mvc/controllers/routing

@guardrex guardrex self-assigned this Aug 11, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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 updates Blazor documentation to cover features introduced in .NET 10 Preview 7. The changes primarily focus on updating API names, enhancing Not Found page handling, and documenting new features like Hot Reload for WebAssembly and the InputHidden component.

Key Changes

  • Updated attribute names from [SupplyParameterFromPersistentComponentState] to [PersistentState] across all documentation
  • Enhanced Not Found page handling with improved Router capabilities and removal of legacy NotFound render fragment support
  • Added documentation for new features including Hot Reload for WebAssembly, InputHidden component, and PWA service worker improvements

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
aspnetcore/release-notes/aspnetcore-10/includes/blazor.md Comprehensive updates covering all Preview 7 features including API renames, Router improvements, and new components
aspnetcore/client-side/dotnet-interop.md Added Hot Reload configuration guidance for WebAssembly apps
aspnetcore/blazor/state-management/server.md Updated persistent state attributes and circuit pause/resume API names
aspnetcore/blazor/state-management/prerendered-state-persistence.md Updated attribute names and added serialization extensibility documentation
aspnetcore/blazor/security/index.md Updated persistent state attribute usage in security context
aspnetcore/blazor/progressive-web-app/index.md Enhanced service worker registration with caching prevention
aspnetcore/blazor/host-and-deploy/server/index.md Updated component name from LinkPreload to ResourcePreloader
aspnetcore/blazor/fundamentals/routing.md Major updates to Not Found handling with new Router capabilities
aspnetcore/blazor/forms/input-components.md Added documentation for new InputHidden component
aspnetcore/blazor/components/render-modes.md Updated authorization handling for static SSR
aspnetcore/blazor/components/lifecycle.md Updated persistent state attribute usage
aspnetcore/blazor/components/layouts.md Simplified layout examples by removing deprecated NotFound references
aspnetcore/blazor/components/integration.md Updated persistent state attribute usage in integration scenarios

@guardrex
Copy link
Collaborator Author

Thx @maraf ... In addition to the changes on the last commit, could you also take a look at Line 236 of the PWA article to see if that original lead-in text is correct?

To prevent the browser from fetching `service-worker-assets.js` from its HTTP cache, for example to resolve temporary integrity check failures when deploying a new version of the service worker, the service worker registration in `wwwroot/index.html` uses [`updateViaCache`](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/updateViaCache) set to `none`:

@guardrex
Copy link
Collaborator Author

guardrex commented Aug 12, 2025

@danroth27 ... My plan is to have the passkeys coverage on a PR tomorrow by EOD 🤞, but I need your direction ...

#35728 (comment)

Also, I assume that you'll want this PR merged when Pre7 drops even if I don't get all of the reviews. Is that correct?

@guardrex guardrex requested a review from maraf August 12, 2025 17:48
@guardrex
Copy link
Collaborator Author

guardrex commented Aug 12, 2025

@ilonatommy ... Are you able to take a look? ... and also see if you like those Copilot code suggestions ☝️.

This is for everyone. I'm still waiting on any PU signoff 😆 .......................

bueller

Bueller? ... Bueller? .............. Bueller? - Economics Teacher (Ben Stein)
Ferris Bueller's Day Off ©1986 Paramount Pictures

@guardrex
Copy link
Collaborator Author

@ilonatommy ... I'm going to go ahead and accept those Copilot suggestions.

As for the rest, @danroth27, I have no PU signoffs ... and we're out of time. I guess you want me to merge this for the release, but I don't have a ton of confidence in what's here without PU feedback.

@guardrex
Copy link
Collaborator Author

@wadepickett @tdykstra ... Pre7 dropped! 🎉🕺💃🪩 ... I'll merge this now.

@guardrex
Copy link
Collaborator Author

@wadepickett ... There are several NIT 😈 suggestions on the build report that must have gone in on today's earlier PRs ...

https://buildapi.docs.microsoft.com/Output/PullRequest/332f35cd-658d-4914-0f85-907e40ee89f0/202508121950146814-35919/BuildReport?accessString=52bff56e205b28ddb18e8e06fbb3457b509c4b6f65683f23c0465fdb766fea28

They aren't Blazor related (i.e., related to this PR), so I'll go ahead here.

@guardrex
Copy link
Collaborator Author

Oh! ... and @wadepickett or @tdykstra ... I need a signoff from one of you just to merge this.

@guardrex guardrex merged commit 5102616 into main Aug 12, 2025
3 checks passed
@guardrex guardrex deleted the guardrex/blazor-preview7 branch August 12, 2025 20:17
@guardrex
Copy link
Collaborator Author

Thanks @tdykstra! 🎷

That's a wrap for Blazor bits for today.

I'll have the passkeys coverage up by EOD tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants