I am running a website in ASP.Net using the development server, which is insanely slow to load a page with no apparent reason since it is fast in production. Are there any tips to speed up the ASP.net Development server or alternatives to using it?
I am running a website in ASP.Net using the development server, which is insanely slow to load a page with no apparent reason since it is fast in production. Are there any tips to speed up the ASP.net Development server or alternatives to using it?
One thing to do is add more memory to your machine. There are no tuning options for the VS Dev Server.
You can also use IIS locally or a different web server altogether for your debugging. This can be set in your project properties. Go to the Web tab in your project properties and change the options under Servers. You'll likely have some work to do on the web server in order to get the debugging hooked up properly.
Here's a good article on web servers you can use with Visual Studio (assuming VS2010 / .NET 4)
Besides RAM, use SSDs throughout your development machine. Try to measure what consumes the CPU time using a profiler (or "StopWatch" prints). Don't forget to debug through your global.asax. Possibly it's the database or something else. Without measuring nobody can know.