SharePoint 2010 – The Performance Guide – Part 3 – Track bottlenecks while using the SharePoint Developer Dashboard
- Why is performance important?
- SharePoint out of the box performance boosters
- Track bottlenecks while using the SharePoint Developer Dashboard
- Track bottlenecks while using firebug
- Track bottlenecks while using Ants Performance Profiler
- SharePoint API considerations and best practices ....
Track bottlenecks while using the SharePoint Developer Dashboard ?
As SharePoint developers we aren’t only responsible for creating the functionality that is required, but we are also responsible for the overall quality of the solution we build. This means an ergonomic fluent user interface, code that is suitable for changes and in my opinion one of the most important aspects, a good performance. Most of these topics are described in white papers, best practices and millions of books and blog posts… but wouldn’t it be a pleasure if it was already in the platform? Yes, indeed!
SPMonitoredScope
That is why the SharePoint team provided us with the developer dashboard and the SPMonitoredScope class! I’ve already written a blog post concerning the how and the what of the developer dashboard here: http://bit.ly/yKmBSR
Custom master page
When you are using a custom master page and not the out-of-the-box v4 master page the controls that are rendering the dashboard aren’t available. But it is allowed to provide these controls in your custom master page in order to benefit from the functionality it contains. Remember to specify the SharePoint webcontrols assembly in order to use the DeveloperDashboardLauncher and the DeveloperDashboard controls. In combination with the SPSecurityTrimmedControl you can enable this control only for members of a specific SharePoint group.
MSDN: Implementing and using the Developer Dashboard: http://msdn.microsoft.com/en-us/library/ff512745.aspx
Anonymous access.
Waldek Mastykarz has written an excellent blogpost about this:
http://blog.mastykarz.nl/enable-developer-dashboard-anonymous-users/
Hope it helps
Tom



January 12th, 2012 - 08:03
My search ends here, Thanks! Sharepoint
January 31st, 2012 - 11:29
My look for comes to an end here, Thanks! Sharepoint