I'm using Billy McCafferty's rather excellent S#arp Architecture. Everything was spiffing and running very quickly.
I then updated to the the latest ASP.NET MVC RC. This meant I had to get the latest trunk of S#arp.
Also, two weeks ago, I updated from XP to Vista (32 bit)
My problem is that the performance has suddenly become woeful.
Everything seems to work, however it's become really slow. Each http request is taking 1 second. Yes, one metric second - which you can imagine is making the page load like the webserver is being powered by an arthritic donkey in a giant, hastily constructed mouse wheel.
Every script or image on the page adds one second to the loading time.
Any ideas what else it could be?
There can be numerous reasons why . NET applications can be slow. These include incorrect memory sizing, GC pauses, code-level errors, excessive logging of exceptions, high usage of synchronized blocks, IIS server bottlenecks, and so on.
5 Answers. Show activity on this post. Typically an application will always take a little extra time to load as the application domain starts up. Things helping exacerbate this could be anything from poorly written code (IE: Application_Start) to certain libraries you may be using (ORMs for example).
1. Faster development process: MVC supports rapid and parallel development. If an MVC model is used to develop any particular web application then it is possible that one programmer can work on the view while the other can work on the controller to create the business logic of the web application.
This is just a guess but i've seen slowness coming from having IPv6 enabled especially when using Firefox on localhost.
http://weblogs.asp.net/dwahlin/archive/2007/06/17/fixing-firefox-slowness-with-localhost-on-vista.aspx
You could download dotTrace and profile your site.
I had a similar issue a few weeks ago and this application allowed me to get to the bottom of it in minutes.
Download the trial and give it a shot.
http://www.jetbrains.com/profiler/
Highly recommended!
Dave the Ninja
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With