|
SYS-CON.TV Webcasts
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Top Links You Must Click On
SharePoint Turning on the Developer Dashboard in SharePoint 2010
The developer dashboard is a great new feature that developers can use to aid them in tuning performance
By: Corey Roth
Oct. 31, 2009 10:00 AM
The developer dashboard is a great new feature that developers can use to aid them in tuning performance on a page. This new functionality adds information to the bottom of any page in SharePoint that displays performance information and what SQL queries were executed to display the page. To my knowledge, there is currently no way in the UI to turn this on, so you can do this with a quick x64 console application. This is soon to become a quite popular code snippet I am sure. SPPerformanceMonitor performanceMonitor = SPFarm.Local.PerformanceMonitor; performanceMonitor.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.On; All you need is those two lines of code. When you are done with it, simply set the monitoring level to Off. Enterprise Open Source Magazine Latest Stories . . .
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||