4

I created a new Blazor Web Assembly app from visual studio 2022, and I got the usual template application with a counter button

Blazor sample

When I run this app from my development machine, the first load take 20 seconds. Every time I change something in the code and re-run the application it takes 20 seconds to load.

Is this the normal behaviour or do I have something wrong on my development machine?

It's very hard to develop something if you have to wait 20 seconds everytime you want to test a modification

Looking at the network tab of the browser I see this:

Blazor Slowliness

As you can see 21.76 MB of resource are cached, and only 0.04 MB are downloaded from the network. So why does it take so long?

1
  • I have the same problem. It's basically unusable like this Commented Aug 3, 2022 at 2:36

1 Answer 1

5

I find out that the problem is the antivirus used by my company, ESET

Seems that it has some kind of checks that takes 20 seconds to analyze web assembly

I had to completely uninstall the antivirus to avoid the problem

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.