ASP.NET: How to find page load time
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 19661
Total Votes: 178 votes
Category: ASP.Net/Getting Started
Submitted on: 2013-12-19 00:37:56
Submitted By: PRIYADARSHINI
Description:One of the important factors that measures a website's performance is the page loading time. Therefore, it is very essential to keep an eye on how long it takes for web pages to load on the client browser. In ASP.NET, this can be achieved using the application class, that acts as an entry point for all incoming requests. I am considering a situation where you just need the page load time. If you want to know more detailed diagnostic information about web pages, I recommend you to take a look at the Tracing Option ASP.NET provides, that would help you to know more than just the loading time of the page. Using Application class's begin_request and end_request handlers you can log the time taken for each web page in your web application to load. More detail...