Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
667 views
in Technique[技术] by (71.8m points)

Blazor refresh page is slow when making any changes in the components

I have a Blazor Server project with about 100 pages(.razor), and 10 Razor Pages (.cshtml), When I make a change in a .cshtml page it takes about 3 seconds to refresh page and show the results but when I make a change in a Blazor page it takes about 12 seconds to refresh page and show the results in browser.

  • All pages has the same .js and .css references
  • It seems, the more Blazor pages I have, the slower it gets

What is wrong? Does it show that Blazor is not suitable for large project with lots of pages?

question from:https://stackoverflow.com/questions/65860703/blazor-refresh-page-is-slow-when-making-any-changes-in-the-components

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...