Hi,
I'm currently analysing my ASP.NET application to find out why it feels so slow. I have now added some code that reads a stopwatch and saves the time to a file at interesting code places. So I have found out that a considerable amount of time (much more than during the rest of the execution) passes between the master page's PreRender event and the HttpApplication's PostRequestHandlerExecute event. When the total request time from BeginRequest to EndRequest is like 1800 ms, time between those two events is 1200 ms. The other 600 ms pass by during my page processing and rendering preparations (page/masterpage Load/Init/PreRender).
What is ASP.NET doing between those two events at all? What takes so long there? Can I stop it from doing that so that my application would be 3x as fast?
...
Go to the complete details ...