thinkinterview » interview questions » ASP.NET
« Previous

ASP.NET Interview Questions

next »
question How will you identify which event in the ASP.NET Web page life cycle takes the longest time to execute?
  • 1. Turn on ASP.NET trace and run the Web application.
  • 2. Add a few code to each of the page life-cycle events that will print the current time.
  • 3. In the Web.config file, add the monitorTimings attribute and set it to True.
  • 4. In the Web site properties, turn on the performance monitor and run the Web application. After that, open performance monitor to see the timings.

Next Queston » If you need to run the trace continuously, which gives you to qui...
If you need to run the trace continuously, which gives you to quick look of 20 recent traces from an... View full queston »

Posted in: ASP.NET(45) |