Skip to content

Conversation

@guardrex
Copy link
Collaborator

@guardrex guardrex commented Nov 24, 2025

Fixes #36371

Marek ...

  • I didn't have the cross-link to our reference content in the Environments article in the What's New article, so I'm adding that cross-link on this PR.
  • I'm adding content on a few ways that a dev can control the value. These are common approaches for this sort of task, so I'm not testing them all. I'm 👂 if you have any concerns.
  • I'm adding a bit on using a web API endpoint that the WASM app can hit. Should we show some startup JS code that would make that work? ... or is it best to just consider it an 'advanced scenario' for the dev to work out on their own?

Internal previews

📄 File 🔗 Preview link
aspnetcore/blazor/fundamentals/environments.md aspnetcore/blazor/fundamentals/environments

@guardrex guardrex requested a review from Copilot November 24, 2025 11:59
Copilot finished reviewing on behalf of guardrex November 24, 2025 12:01

This comment was marked as outdated.

@guardrex guardrex requested a review from Copilot November 24, 2025 12:20
@guardrex guardrex self-assigned this Nov 24, 2025
Copilot finished reviewing on behalf of guardrex November 24, 2025 12:23
Copy link
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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

@guardrex guardrex requested a review from maraf November 24, 2025 12:26
Copy link
Member

@maraf maraf left a comment

Choose a reason for hiding this comment

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

I'm adding content on a few ways that a dev can control the value. These are common approaches for this sort of task, so I'm not testing them all. I'm 👂 if you have any concerns.

It looks good to me

I'm adding a bit on using a web API endpoint that the WASM app can hit. Should we show some startup JS code that would make that work? ... or is it best to just consider it an 'advanced scenario' for the dev to work out on their own?

I think it's fine leaving it as an advanced scenario module the comment below

Otherwise, it looks great! Thank you

@guardrex guardrex merged commit 77b1c98 into main Nov 26, 2025
4 checks passed
@guardrex guardrex deleted the guardrex/blazor-wasm-environment branch November 26, 2025 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Blazor] Clarify WasmApplicationEnvironmentName for build/publish scenarios

3 participants