Skip to content
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

[Blazor] Update WebAssembly.DevServer to serve the Blazor-Environment header #57971

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

MackinnonBuck
Copy link
Member

Since the dev server no longer calls UseBlazorFrameworkFiles(), we need to manually add the Blazor-Environment header when applicable.

Fixes #57941

@MackinnonBuck MackinnonBuck added the area-blazor Includes: Blazor, Razor Components label Sep 19, 2024
@MackinnonBuck MackinnonBuck requested a review from a team as a code owner September 19, 2024 19:08
@MackinnonBuck
Copy link
Member Author

/backport to release/9.0-rc2

Copy link
Contributor

Started backporting to release/9.0-rc2: https://github.com/dotnet/aspnetcore/actions/runs/10949630835

Co-authored-by: Stephen Halter <halter73@gmail.com>
@MackinnonBuck MackinnonBuck merged commit e9160be into main Sep 20, 2024
27 checks passed
@MackinnonBuck MackinnonBuck deleted the mbuck/fix-devserver-environment branch September 20, 2024 18:07
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blazor WebAssembly Standalone App targeting .net 9 runs in production mode when started from VS in debug mode
4 participants