I am working on a new ASP.NET MVC web application, and I see that all pages take about 12-15 seconds to load no matter what is in the controller or view. I have pages that take about 8 seconds without any code in the controller, except for the return View () view and the view page, only with the page name in html.
I ran SQL Profiler and the response was very fast, so it seems like MVC routing or something takes all the time. So far I have tried approaches:
- Removed all viewers from global.asax and uses only the Razor viewer.
- Included Combine and Minimize for css and js
- Compression is enabled for static and dynamic content in IIS 7
- I deployed the build build on our dev server, but still the same performance
Please let me know what might be causing the MVC application to slow down.
Another time, for a corporate web application with about 150-250 users at the same time, what would be the best server configuration, I had to have a processor, processor, RAM, etc.
source
share