asp.net.ph

Skip Navigation LinksHome > ASP.NET Applications > ASP.NET Optimization > Developing High-Performance ASP.NET Applications > Monitoring ASP.NET Application Performance

Monitoring ASP.NET Application Performance

ASP.NET Web Applications   ASP.NET Optimization


There are a number of tools at your disposal to help you test and monitor the performance of your Web application. Microsoft provides the Web Application Stress ( WAS ) tool, which simulates multiple HTTP clients making requests to your Web site, while ASP.NET includes a number of performance counters that you can use to track the execution of your application. You can also use the built-in ASP.NET tracing feature to track code execution for a page or an application.

WAS allows you to control the client load, the number of connections, the format of cookies, HTTP response headers, and several other parameters from the tool’s graphical interface. After a test run, WAS provides you with reports containing performance metrics such a response time, throughput, and performance counter data relevant to your application. This tool can help you maximize your application’s throughput and CPU utilization under high degrees of load.

Unlike traditional Active Server Pages ( ASP ), which exposed performance counters globally for the entire server computer, most of the ASP.NET performance counters are exposed per-application. The per-application counters are available under the "ASP.NET Applications" performance object, and if there are multiple applications on the server you need to select a particular application instance when selecting a counter to monitor. You can see the counter values for all applications using a special __Total__ application instance in PerfMon. ASP.NET also exposes global-only counters that are not bound to a particular application instance. These counters are located under the ASP.NET System performance object. To view the total available counters for ASP.NET on a Windows 2000 Server computer, use the following steps.

  1. From the Start button, point to Programs, point to Administrative Tools, then click Performance.
  2. In PerfMon click View Report.
  3. Click Add.
  4. Select ASP.NET Applications, select All counters, then click OK.
  5. Select ASP.NET System, select All counters, then click OK.

The ASP.NET trace feature can show you important timing information between successive trace output statements, as well as information about the server control hierarchy, the amount of viewstate used, and the render size of controls on your page. For more information about tracing and how to use it, see ASP.NET Trace Functionality.

See Also

Performance Counters for ASP.NET



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note