web developer tips (60):如何对ASP.Net网站进行性能分析


原文地址:How to Profile an ASP.Net site? 1、使用Visual Studio Team Edition For Developers 创建一个Asp.netweb应用程序。 http://www.watch-life.net/visual-studio/profiling-an-asp-net-site.html 2、在Page_Load方法里写如下代码 protected void Page_Load(objectsender, EventArgs e)  {      int sum = 0;      for(int i = 0; i < 2000000; i++)      {          sum += i;      }      Response.Write(sum);  } 3、启动性能向导 4、选择当前应用,点击“下一步” 5、选择“采......[阅读全文]

分类: Visual Studio | 没有评论 »