Open Closed

issues with Blazor Web Assembly #3459


User avatar
0
hussein created

BCheck the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. Use suite -> create a new solution, Blazor Web Assembly Project with Progressive Web Application ( want to support offline mode) and SQL Server db options
  2. run DbMigrator
  3. run the host project it works with no delay, then the blazor project it took around 20 seconds to load

my issues here are:

  1. it is very slow

  2. then after I publish it to IIS, the host works, but the blazor couldn't work after the login page , could you guide me the details steps on how to configure it correctly, i already followup most of the answers here on the support page and the documentation but I didn't success


4 Answer(s)
  • User Avatar
    0
    hussein created

    Dear Support Teams, Any Feedback ?!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer
    1. it is very slow

    The blazor wasm will be slow on first load.

    then after I publish it to IIS, the host works, but the blazor couldn't work after the login page ,

    Did you check this document?

    https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-6.0

  • User Avatar
    0
    hussein created
    1. it is very slow

    The blazor wasm will be slow on first load. Do you see this is acceptable performance? I mean it is not only when it load the apps,but you can see when you change the language for example! , also if you close the browser then re-open it , same same! comparing to the same apps with .net core only, the Blazor wasm apps working well did I miss something in the configuration? or if you test it from your side is it the same issue? ,

    then after I publish it to IIS, the host works, but the blazor couldn't work after the login page ,

    Did you check this document?

    https://docs.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-6.0

    let me check it

    I wish I found something related to Abp framework , we have selected the Abp framework to focus on business development rather than spending time on the architecture and these staff!!!!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Blazor wasm will be slower than other types of applications. You may consider switching to blazor server type.

    If you still have problems following Microsoft's deploy documentation, please feel free to provide feedback.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11