Skip to content

Default WebAssembly loading progress indicator doesn't apply in Blazor Web template #49056

@SteveSandersonMS

Description

@SteveSandersonMS

In .NET 7 we added a built-in loading progress indicator for WebAssembly apps.

This continues to work in .NET 8 if you have a WebAssembly standalone project. However if you are using the new Blazor Web template, any WebAssembly components are added via @rendermode, and this will not cause the loading progress indicator to show up, because most of the time you wouldn't want to. You can have any number of small islands of WebAssembly-based UI anywhere, and it will normally be prerendered. And:

  • We don't want to show multiple loading indicators
  • We don't want to discard the prerendered content while the WebAssembly runtime is loading

This issue is just to track that we probably need to update some docs/guidance to avoid implying that people should or can always have a WebAssembly loading progress indicator. Also we might consider having some special new component that does render a loading progress indicator within the new architecture for people who really don't want to prerender their WebAssembly content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pillar: Complete Blazor WebPriority:1Work that is critical for the release, but we could probably ship withoutarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-full-stack-web-uiFull stack web UI with Blazorfeature-templatestriaged

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions