Tuesday, June 8, 2010

Using SharePoint 2010 Developer Dashboard for Debugging and Performance Monitoring

Basically, we can use the following code pattern:

    using (new SPMonitoredScope("My code block (WebPart1)"))
    {
        // the code to be monitored here
    }


Please see the blog from Waldek Mastykarz for detail.