'ASP NET Core 6 MVC Slow page loading
I am trying to upgrade an old ASP .NET project from Framework 4.5 to Core .NET 6.
Going well so far, but I noticed the page loading was way longer than before. I thought it may come from Entity Framework, but even simple pages were slow.
So I created a new project from the ASP .NET CORE 6 sample and noticed the same problem.
When I navigate between the default "Home" and "Privacy" pages, it takes around 2 seconds to load (not only the first time). Using Chrome and Firefox's inspectors, the pending is the slow part.
I don't think this is normal, is it an issue with the framework or my setup ?
For information, I tried in debug and release mode same problem. But when I ran with the profiler, everything was perfectly fast !
Any ideas on what's happening ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
