why blazor server is very slow in developmen process??

Buddhi - BLUE LOTUS 360 1 Reputation point

I am working on the industry-level application using the blazor server based on.NET6 and we are still testing how to apply the blazor serverside for our requirements. we have developed an industry-level ERP application and some clients are using it. after deployment, it is working super fast and we are able to give a superb experience to the users. In the initial stage of the development process, this application was super fast, but currently, it is getting slow, and debugging is very slow and very hard to debug .currently our code size is gradually growing, some times it may be the reason

I am using visual studio 2022 as the development IDE, when open this application using it my machine is getting stuck. I deleted all caches and tested but the issue is still there .why is this happening, is it wanted much computational power ?? is there anybody who has the same experience or does anybody know the issue around this ??

A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,314 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 52,496 Reputation points

    with blazor server, for each connected user, all state information and the users complete razor tree is kept in memory.

    so check your memory usage. if your cpu's are at 100% then your box is too slow or your code needs optimizing (to many renders)

    be sure you are not keeping pages lists in memory.

    0 comments No comments