Sync Blazor templates with aspnetcore net11-pre4#35265
Open
mattleibow wants to merge 1 commit intonet11.0from
Open
Sync Blazor templates with aspnetcore net11-pre4#35265mattleibow wants to merge 1 commit intonet11.0from
mattleibow wants to merge 1 commit intonet11.0from
Conversation
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 35265Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 35265" |
8a99d66 to
72b817b
Compare
This was referenced May 1, 2026
Apply upstream changes from dotnet/aspnetcore BlazorWeb-CSharp template (release/10.0 → main/net11-pre4) to both maui-blazor and maui-blazor-solution templates: - ReconnectModal.razor: Resume button ordering + resume-failed class - ReconnectModal.razor.js: Show resume-failed state instead of reload - ReconnectModal.razor.css: Fix &[open] CSS nesting indentation - Web.Client Program.cs/Main.cs: Use AddAuthenticationStateDeserialization() - template.json: Add onlyIf localhost constraint on port replacers - template.json: Add *.razor.js to copyOnly for co-located JS files - index.html: Add SampleContent-guarded NavMenu.razor.js script refs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
72b817b to
ce11f67
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Description
Syncs both MAUI Blazor templates (
maui-blazorandmaui-blazor-web) with upstream changes fromdotnet/aspnetcoreBlazorWeb-CSharp template (release/10.0→main/net11-pre4).Changes
Both templates
onclickhandler withid="nav-scrollable"+ JS module (CSP compliance)**/*.razor.jstocopyOnlyso template engine emits co-located JS filesmaui-blazor(standalone)<script>reference for NavMenu.razor.jsmaui-blazor-solution(multi-project)<base href="/" />→<BasePath />component&[open]CSS nesting indentation[PersistentState]on RequestId,public,??=assignment@using Microsoft.AspNetCore.Components.EndpointsonlyIflocalhost constraint on port replacersPersistentAuthenticationStateProvider→AddAuthenticationStateDeserialization()Not synced (intentional)