dilindungi void Application_BeginRequest(Pengirim objek, EventArgs e)
di file Global.asax.cs
.
{
Aplikasi["StartTime"] = System.DateTime.Now;
}
dilindungi kekosongan Application_EndRequest(Pengirim objek, EventArgs e)
{
System.DateTime startTime = (System.DateTime)Aplikasi["StartTime"];
System.DateTime endTime = System.DateTime.Sekarang;
System.TimeSpan ts = endTime - startTime;
Response.Write("Waktu eksekusi halaman:"+ ts.Millidetik +" milidetik");
}