Is there an easy way of obtaining the total page response time in ASP.Net?

Posted by Earlz on Stack Overflow See other posts from Stack Overflow or by Earlz
Published on 2010-06-03T00:24:24Z Indexed on 2010/06/03 0:34 UTC
Read the original article Hit count: 267

Filed under:
|
|
|

Hello, commonly on say PHP or other web frameworks getting the total response time is easy, just start the timer at the top of the file and stop it at the end.

In ASP.Net there is the whole Page Lifecycle bit though so I'm not sure how to do this. I would like for this response time recording to take place in a master page and the response time show up in the footer of pages. What would be the best way of doing this? Is there something built in to ASP.Net for it? Is it even possible to include the OnRender time?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET