- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10.5k
Open
Labels
Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.This issue needs the attention of a contributor, typically because the OP has provided an update.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Description
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.
 
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
- Create a new Blazor Web App.
- Use InteractiveAuto
- 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.This issue needs the attention of a contributor, typically because the OP has provided an update.area-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components