Skip to content

[11.0 P5] Blazor Preview 5 updates#37206

Merged
guardrex merged 21 commits into
mainfrom
guardrex/quickgrid-updates-11-p5
Jun 11, 2026
Merged

[11.0 P5] Blazor Preview 5 updates#37206
guardrex merged 21 commits into
mainfrom
guardrex/quickgrid-updates-11-p5

Conversation

@guardrex

@guardrex guardrex commented May 29, 2026

Copy link
Copy Markdown
Collaborator

Fixes #37102
Fixes #37219
Fixes #37233
Fixes #37234

Daria ...

  • I may have missed some public API that you want to cover. I think thus far that this only has QueryParameterNamePrefix and GetPageUrl. Is there more API to call out?
  • The diff might be a bit hard to read because of the versioning changes. You might have better luck looking at it with the internal review article.
  • The PR includes [SupplyParameterFromSession] coverage.
  • This PR will collect the rest of the Preview 5 coverage (at least for release notes) and be held until next Tuesday's release. I'll probably add Ondrej's form features to the release notes here later this week. The reference article updates for form features will probably go on a different PR.

Internal previews

Toggle expand/collapse
📄 File 🔗 Preview link
aspnetcore/blazor/components/layouts.md aspnetcore/blazor/components/layouts
aspnetcore/blazor/components/quickgrid.md aspnetcore/blazor/components/quickgrid
aspnetcore/blazor/components/render-modes.md aspnetcore/blazor/components/render-modes
aspnetcore/blazor/components/synchronization-context.md aspnetcore/blazor/components/synchronization-context
aspnetcore/blazor/components/virtualization.md aspnetcore/blazor/components/virtualization
aspnetcore/blazor/debug.md aspnetcore/blazor/debug
aspnetcore/blazor/forms/index.md aspnetcore/blazor/forms/index
aspnetcore/blazor/fundamentals/configuration.md aspnetcore/blazor/fundamentals/configuration
aspnetcore/blazor/fundamentals/environments.md aspnetcore/blazor/fundamentals/environments
aspnetcore/blazor/fundamentals/navigation.md aspnetcore/blazor/fundamentals/navigation
aspnetcore/blazor/fundamentals/signalr.md aspnetcore/blazor/fundamentals/signalr
aspnetcore/blazor/globalization-localization.md aspnetcore/blazor/globalization-localization
aspnetcore/blazor/security/webassembly/standalone-with-identity/index.md aspnetcore/blazor/security/webassembly/standalone-with-identity/index
aspnetcore/blazor/state-management/server.md aspnetcore/blazor/state-management/server
aspnetcore/client-side/dotnet-on-webworkers.md aspnetcore/client-side/dotnet-on-webworkers
aspnetcore/fundamentals/troubleshoot-aspnet-core-localization.md aspnetcore/fundamentals/troubleshoot-aspnet-core-localization
aspnetcore/toc.yml aspnetcore/toc

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds .NET 11 Preview 5 QuickGrid SSR/URL-based navigation coverage to the QuickGrid reference article (under >= aspnetcore-11.0 monikers) and stages release-notes content (currently HTML-commented) for Preview 5 release day.

Changes:

  • Adds new 11.0-monikered sections to quickgrid.md covering URL-based pagination, multiple grids on the same page, title-based sort identification, and the EnableUrlBasedQuickGridNavigationAndSorting AppContext switch.
  • Reworks moniker fencing around existing "Sort by column," "Page items," and "Open and return from a details page" sections so legacy guidance remains for < aspnetcore-11.0.
  • Drafts a (commented-out) Preview 5 release-notes blurb in aspnetcore-11/includes/blazor.md summarizing the same QuickGrid changes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
aspnetcore/blazor/components/quickgrid.md Adds 11.0 reference coverage for URL-based navigation, multi-grid prefixes, sort/title behavior, and AppContext disable switch; restructures monikers.
aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Staged (commented-out) Preview 5 release-notes section for QuickGrid improvements.

Comment thread aspnetcore/blazor/components/quickgrid.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/blazor.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@guardrex guardrex changed the title [11.0 P5] Blazor Preview 5 QuickGrid updates [11.0 P5] Blazor Preview 5 updates Jun 2, 2026
@guardrex

guardrex commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator Author

@dariatiurina ... I added the [SupplyParameterFromSession] coverage. It's probably a bit rough 🙈 in draft form, but it's reviewable. I plan to give it another edit tomorrow (Wednesday). You don't need to wait on that, however, to see if I have the technical details correct.

I also made updates to the temporary data (ITempData) coverage.

BTW ... This PR is probably going to collect the rest of the Blazor Preview 5 coverage. It will sit until release next Tuesday.

@dariatiurina dariatiurina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your work! Here are some notes:

Comment thread aspnetcore/blazor/components/quickgrid.md
Comment thread aspnetcore/blazor/components/quickgrid.md
Comment thread aspnetcore/blazor/components/quickgrid.md Outdated
@guardrex guardrex closed this Jun 8, 2026
@guardrex guardrex reopened this Jun 8, 2026
@guardrex guardrex closed this Jun 8, 2026
@guardrex guardrex reopened this Jun 8, 2026
@guardrex guardrex closed this Jun 9, 2026
@guardrex guardrex reopened this Jun 9, 2026
@guardrex guardrex closed this Jun 11, 2026
@guardrex guardrex reopened this Jun 11, 2026
@guardrex guardrex closed this Jun 11, 2026
@guardrex guardrex reopened this Jun 11, 2026
@guardrex guardrex closed this Jun 11, 2026
@guardrex guardrex reopened this Jun 11, 2026
@guardrex guardrex requested a review from wadepickett June 11, 2026 11:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Comment thread aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Outdated
Comment thread aspnetcore/blazor/state-management/server.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@guardrex

Copy link
Copy Markdown
Collaborator Author

@wadepickett ... I think this 🐘 PR is ready now. I didn't change the Release Notes article date on this PR, so it's relying on being merged before #37241.

Comment thread aspnetcore/blazor/components/quickgrid.md
}.AsQueryable();

[SupplyParameterFromQuery]
private int Page { get; set; }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize this is outside of the PR scope, but I'll mention. Since we are checknig if Page even has a value, should it be declared nullable" int? Page

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can address this, but it will need to be in like 30 minutes. If you want, I can patch it on a patch PR. Otherwise, we just need to wait another 30 minutes. I have a prior (quick) family obligation that I can't get out of.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch after is fine. Alerady approved. Up to you.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My recollection is just that it goes to zero if not present in this case. There are a few examples that I need to look at, however, to make sure that they're all addressing this the same way. We might also need to make a remark about behavioral difference between nullable and non-nullable.

Yeah ... I recommend let's go ahead and merge this now. I'm going to run over and take care of the family situation. I'll be back soon and ping you probably in like an hour or so with a PR on this.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll also add the NavigationManager to the earlier example.

Sorry for the poor timing! I'll get your feedback resolved as soon as I get back to the house. 🏃‍♂️🏃‍♂️🏃‍♂️🏃‍♂️

@wadepickett wadepickett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. See the questions I had inline though.

@guardrex guardrex merged commit 87f9dc5 into main Jun 11, 2026
4 checks passed
@guardrex guardrex deleted the guardrex/quickgrid-updates-11-p5 branch June 11, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants