Some web servers run many applications within one app pool. If issues occur on an individual site, it can be difficult for an administrator to determine which particular application is having difficulties. ASP.NET 4.0 introduces additional performance counters, allowing you to monitor an individual application's CPU and memory usage.
To utilize this, you must add the appDomainResourceMonitoring setting and set it to Aspnet.config (Aspnet.config is located where the .NET Framework is installed: C:WindowsMicrosoft.NETFrameworkv4.0.21006).
<runtime> <appDomainResourceMonitoring enabled="true"/> </runtime>
When you have added this line, go into perfmon, and you should find that you have access to two new performance counters in the ASP.NET application's Available Counters section (Figure 10-6):
Managed Processor Time
Managed Memory Used
3.137.219.118