Skip to content

[11.0 P4] Blazor What's New feature coverage#37133

Merged
guardrex merged 11 commits into
mainfrom
guardrex/blazor-11-p4-coverage
May 12, 2026
Merged

[11.0 P4] Blazor What's New feature coverage#37133
guardrex merged 11 commits into
mainfrom
guardrex/blazor-11-p4-coverage

Conversation

@guardrex
Copy link
Copy Markdown
Collaborator

@guardrex guardrex commented May 11, 2026

Copy link
Copy Markdown
Contributor

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 expands the ASP.NET Core 11 Blazor “What’s New” / feature coverage across release notes and several Blazor articles, adding documentation for new/updated templates, TempData parameter binding, and Virtualize enhancements.

Changes:

  • Document [SupplyParameterFromTempData] usage for TempData in static SSR scenarios and add corresponding examples.
  • Add .NET 11 content for virtualization (AnchorMode behavior) and update release notes to reflect virtualization enhancements.
  • Add .NET 11 template coverage for the Blazor WASM service defaults template and note the new Blazor WebAssembly development server package.

Reviewed changes

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

Show a summary per file
File Description
aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Adds .NET 11 Blazor release note entries for TempData parameter binding, virtualization enhancements, service defaults template, and the new WASM dev server.
aspnetcore/blazor/tooling.md Adds .NET 11 template list updates and a new section documenting the blazor-wasm-servicedefaults template.
aspnetcore/blazor/state-management/server.md Expands TempData guidance and adds [SupplyParameterFromTempData] coverage plus updated examples.
aspnetcore/blazor/security/webassembly/standalone-with-identity/index.md Adds (currently commented) .NET 11 package guidance for Microsoft.AspNetCore.Components.Gateway.
aspnetcore/blazor/debug.md Adds (currently commented) .NET 11 package guidance for Microsoft.AspNetCore.Components.Gateway vs DevServer.
aspnetcore/blazor/components/virtualization.md Adds a .NET 11 section documenting viewport anchoring behavior (AnchorMode) and related guidance.
Comments suppressed due to low confidence (1)

aspnetcore/blazor/state-management/server.md:328

  • NavigationManager.NavigateTo targets /tempdata-example, but this sample's route is @page "/tempdata-example-1", so the snippet navigates to a different (likely non-existent) endpoint. Update the navigation target to match the route (or change the @page directive back) so the example works as written.
    private void Submit()
    {
        TempData!["Message"] = "Form submitted successfully!";
        NavigationManager.NavigateTo("/tempdata-example", forceLoad: true);
    }

Comment thread aspnetcore/blazor/state-management/server.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Outdated
Comment thread aspnetcore/blazor/components/virtualization.md Outdated
Comment thread aspnetcore/blazor/tooling.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Outdated
Comment thread aspnetcore/blazor/components/virtualization.md Outdated
guardrex and others added 2 commits May 11, 2026 18:47
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@guardrex guardrex self-assigned this May 11, 2026
Comment thread aspnetcore/blazor/state-management/server.md Outdated
Comment thread aspnetcore/release-notes/aspnetcore-11/includes/blazor.md Outdated
Comment thread aspnetcore/blazor/components/virtualization.md Outdated
Copy link
Copy Markdown
Contributor

@wadepickett wadepickett left a comment

Choose a reason for hiding this comment

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

@guardrex, approved. Great work. One possible medium issue, (temp-example vs. temp-example-1) and a few super minor items.

guardrex and others added 2 commits May 12, 2026 05:50
Co-authored-by: Wade Pickett <wpickett@microsoft.com>
@guardrex
Copy link
Copy Markdown
Collaborator Author

guardrex commented May 12, 2026

This PR went sideways with unrelated build warnings for the native mobile backend article. For example ...

Line 43: [Warning] The code snippet "~/../maui-samples/9.0/WebServices/TodoREST/TodoREST/Constants.cs" could not be found.

The reason is that they killed the sample app completely ...

dotnet/maui-samples#767

Anyway ... just as well I guess. That gave us a heads-up that the links should go to 10.0. I'll see if I can straighten them out on this PR.

Makes me wonder tho ... should this entire article be moved to MAUI docs? If they're going to manage the sample for this, it would be best if they maintain the content that goes with it. We'll never know exactly when they're going to break the code cross-links until they 💥 on us over here.

@guardrex
Copy link
Copy Markdown
Collaborator Author

guardrex commented May 12, 2026

@ilonatommy ... WRT Blazor Server Circuit Pause & Resume on Server Shutdown and Blazor server-triggered circuit pause, I see your ServerPauseTest component on the PU PR, but I think it would be more useful to devs to show how this would work in an app deployment/server restart scenario. I probably can't come up with that example quickly. Do you want to give me the code for that or something else that you'd like to show in the article's section on this?

BTW ... I'm looking at what Javier put up for the server shutdown case, and it looks like it would just take a few line changes to make it work with Circuit.RequestCircuitPauseAsync ... that is if the overall circuit-handler-based approach is correct. If it would only take a few line changes, let me have those if you want to use that scenario as the example use case. I put his code on the PR (commented out).

@guardrex
Copy link
Copy Markdown
Collaborator Author

@maraf ... Do I need to place What's New content for 11.0 Preview 4 for faster deployment of Blazor WebAssembly apps? If so, can you link me to the improvements or give me a blurb to place into the What's New article for it?

@guardrex
Copy link
Copy Markdown
Collaborator Author

guardrex commented May 12, 2026

@wadepickett ... I might not hear back from anyone on this, and that's fine. What's here can be merged, and I can do a patch PR after P4 release tonight or tomorrow (more likely tomorrow morning).

I guess you'll coordinate the final push; if so, then I recommend that you merge this when you're ready to go live with the P4 content.

If I receive engineer feedback, you'll see it come in here, and I'll jump on PR updates to squeeze them in under the deadline. Otherwise, I recommend that we go ahead with what we have here when you're ready to publish this afternoon.

UPDATE: I added the Native Mobile Backend article sample link updates to this, matching that you and Copilot did on the other PR. There shouldn't be merge conflicts 🍀🤞.

@guardrex
Copy link
Copy Markdown
Collaborator Author

Looks like no feedback will arrive today prior to release.

I'm going to go ahead and shoot this in to go live when the trigger is pulled for release.

@guardrex guardrex merged commit c3ce885 into main May 12, 2026
4 checks passed
@guardrex guardrex deleted the guardrex/blazor-11-p4-coverage branch May 12, 2026 19:17
Copy link
Copy Markdown

@dariatiurina dariatiurina left a comment

Choose a reason for hiding this comment

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

[SupplyParameterFromTempData] looks good! Sorry for taking so long to take a look.

@guardrex
Copy link
Copy Markdown
Collaborator Author

Awesome! Thx, @dariatiurina!

Copy link
Copy Markdown
Member

@ilonatommy ilonatommy left a comment

Choose a reason for hiding this comment

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

I tried to update the commented out fragment (<!-- UPDATE 11.0 - REVIEWER NOTE). Please, let me know if you have some questions to that.

Generaly the changes transfer the sample from workaround-focused one to how-to-use with the new API focused.

Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
Comment thread aspnetcore/blazor/state-management/server.md
@guardrex
Copy link
Copy Markdown
Collaborator Author

Nice!!! Thank you, @ilonatommy! 🎷 ... I'll get it activated into the article today on a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

5 participants