How to use performance monitor to diagnose bottlenecks in your application?
1. Click start->run and type perform to run performance monitor.
2. Select system monitor in the tree.
3. Click view report.
4. Click Add button , under performance object select ASP.Net object to track.
5. Select all counters and click on add.
You can create your own counters in the application as below:
void MyCustomCounter()
{
PerformanceCounterCategory.Create("CategoryName", "MyCounter", PerformanceCounterCategoryType.MultiInstance, "CounterName", "MyCounter");
}