The SharePoint Developer Dashboard is one of the many new features of SharePoint 2010.
It displays detailed diagnostic information for each pageload. Not only does is show you information about your code it also allows to to see each database query that has been executed.
The Developer Dashboard is off by default and can be enabled using powershell, stsadm.exe or the objectmodel. Once enabled a little icon will show up next to the accountname allowing you to show/hide the dashboard.
$DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$DevDashboardSettings.DisplayLevel = ‘OnDemand’;
$DevDashboardSettings.RequiredPermissions =’EmptyMask’;
$DevDashboardSettings.TraceEnabled = $true;
$DevDashboardSettings.Update()
or
stsadm –o setproperty –pn developer-dashboard –pv OnDemand
or
SPPerformanceMonitor perfmon = SPFarm.Local.PerformanceMonitor;
perfmon.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.On;
perfmon.Update();
MSDN now includes a SharePoint 2010 Developer Center with lots of info on the upcoming SharePoint release:
http://msdn.microsoft.com/en-us/sharepoint/ee514561.aspx
I came across a MOSS environment where alerts had been disabled. Question for me was how to re-enable these alerts. A lot on the internet can be found regarding programmatically setting alerts, etcetera. I could not quickly find my answer so after finding the solution I decided to blog this.
The answer (as always) is quite simple if you know where to look. In this case you should verify two parts:
- General Web application settings: Alerts can be turned on or off

- User permissions for web application:

One of the list permissions is "Create Alerts"

By enabling these items, a user can set alerts again.
See
http://be2009.dutchgiraffe.com/ voor a good impression of this event. We surely had a lot of fun!