.NET MVC Slow Site

I have a website that takes about 20 seconds to load each page (no matter what it does)

So, I put in /scripts/test.html, which is not part of the route, and it still takes a lot of time ... no db doesn't hit anything.

I renamed web.config to _web.config and it loads instantly, renames it back ... in about 20-30 seconds.

Running the application locally ... I set a breakpoint on RegisterRoutes in the Global.asax.cs file and ran this ... /scripts/test.html did not hit the breakpoint. Normal site (the site downloads instaly quickly locally to the same database / code)

The server is a Mosso IIS7 / SQL Server 2008 cluster

The site hit hard ... ANY help, please? or things to check / debug?

+4
source share
2 answers

A few things to try:

  • Try a look at FileMon / ProcessMonitor and see if there is a ton of disk activity.
  • If this is not a problem, install the Jet Brains Dot Trace instance. Profile the application and see if there is a memory or performance issue that does not show up in your local field.
+2
source

I saw another related issue that was resolved by disabling IPv6, maybe try this.

0
source

All Articles