Collecting Application Statistics for ASP.NET Web Applications Using the Profiler Sampling Method from the Command Line

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Collecting Application Statistics for ASP.NET Web Applications Using the Profiler Sampling Method from the Command Line.

This section describes the procedures and options for collecting performance statistics for an ASP.NET Web application by using the VSPerfASPNETCmd and VSPerfCmd command-line tool and the sampling profiling method.

System_CAPS_ICON_note.jpg Note

Enhanced security features in Windows 8 and Windows Server 2012 required significant changes in the way the Visual Studio profiler collects data on these platforms. Windows Store apps also require new collection techniques. See Performance Tools on Windows 8 and Windows Server 2012 applications.

System_CAPS_ICON_note.jpg Note

Although the VSPerfCmd tool gives you complete access to Profiling Tools functionality, including pausing and resuming profiling, and collecting additional data from processor and Windows performance counters, you should use use the VSPerfASPNETCmd command line tool when you do not need this functionality. The VSPerfASPNETCmd command line tool is the preferred method when your are profiling ASP.NET Web sites using the stand-alone profiler. Compared with the VSPerfCmd command line tool, no environment variables need to be set, and rebooting the computer is not required. For more information, see Rapid Web Site Profiling with VSPerfASPNETCmd.

TaskRelated Content
Attach the profiler to an ASP.NET application- How to: Attach the Profiler to an ASP.NET Web Application to Collect Application Statistics

Profiling ASP.NET Web Applications

TaskRelated Content
Profile by using the instrumentation method- Collecting Detailed Timing Data Using Instrumentation
Profile memory allocation and garbage collection- Collecting Memory Data
Profile resource contention and thread activity- Collecting Concurrency Data

Sampling Method

TaskRelated Content
Profile stand-alone (client) applications- Collecting Application Statistics Using Sampling
- Profile services- Collecting Application Statistics Using Sampling

Analyzing Sampling Data Views and Reports

Sampling Method Data Views

Show: