As of late, I have been having some speed issues in regard to the first page load of my .NET applications. I have looked for all possible solutions and have narrowed it down to the Application Pool settings and the worker processes having to be restarted every so often. The problem is that I have released numerous .NET apps, that are much larger in size and complexity, on this server and have never had the speed issues that I am having.
I understand the first load of any .NET page will require a compile. That is not the problem. I hit the page, and it compiles the first time, which takes 90 seconds or so. As soon as the application pool releases the worker process or becomes inactive/stops and I hit the page again it takes just as long to reload (90 seconds). I have also tried using the publish site option in VS 2005 to precompile the application, but have had no luck reducing the load time.
Secondly, I have tried to trace my solution and have had an odd result. I would expect one procedure to be taking most of the time, which would help me find where the problem lies. Instead, the time is even distributed across all activities.
Notes about Application:
Server is Running: IIS 6.0
Application Developed using: VS 2005 .NET 2.0
Debugging is turned OFF.
Tracing is now turned OFF.
Any help is appreciated.