Skip to content

Blazor Web App WASM download performance issues #64009

@wendellestradairely

Description

@wendellestradairely

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

There are too many wasm files being downloaded during startup and every time I reload the browser. It took almost 10 seconds to load all these files in local environment and several minutes to load these files into the browser when deployed to a remote/cloud server.

Image

This happens only in .NET 10 rc1 but not in previous versions (e.g. 9.0/8.0).

Expected Behavior

Must load faster like in .net 8/9

Steps To Reproduce

Compare two simple projects in both .NET 10 and .NET 9/8

  1. Create a new Blazor Web App.
  2. Use InteractiveAuto
  3. Global Interactivity location

Refresh/reload the browser. As you can see in .NET 10 it's download several wasm files and are very slow. This behavior doesn't happen in .NET 9 and .NET 8

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-blazorIncludes: Blazor, Razor Components

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions