Open Closed

how to increase the performance of blazor webassembly #9388


User avatar
0
manchi created

currently we are using the dotnet 8 and blazor webassembly. the performance is very very slow. the user always needs to wait for a long time for loading the WASM, before able to see any content on the browser screen.

may I know how we could increase the performance of the loading the WASM on browser?

  • is it possible to reduce the size of the WASM?
  • or can we preload the WASM at the background?
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, the initial loading may take time and unfortunately, this is a limitation of Blazor WASM. If performance is important to you, we suggest using Blazor WebApp, so you can benefit from both Blazor Server and Blazor WASM, and eliminate the initial loading issue.

    Also, you may want to check this community article: https://abp.io/community/articles/prerendering-blazor-wasm-application-with-abp-6.x-2v8590g3

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 13, 2025, 11:37