ASP.NET loading time

xiaoxiao2021-03-06  42

Protected Void Application_BeginRequest (Object Sender, Eventargs E) {Application ["START"] = DATETIME.NOW;}

protected void Application_EndRequest (Object sender, EventArgs e) {System.TimeSpan aa = DateTime.Now - (System.DateTime) Application [ "start"]; Response.Write (aa.TotalSeconds.ToString ( "# 00.000"));}

转载请注明原文地址:https://www.9cbs.com/read-74920.html

New Post(0)