Mavention Blog
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.

DevDashboard.png

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.

DevDashboardIcon.png 

$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();

Posted: 26-10-2009 18:37:27 by Robert Jaakke | with 0 comments


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
Posted: 21-10-2009 10:40:42 by John Mutters | with 0 comments


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:
  1. General Web application settings: Alerts can be turned on or off
  2. WebAppGenSetAlerts.jpg

  3. User permissions for web application:
  4. WebAppUsrPermsOvw.jpg

    One of the list permissions is "Create Alerts"

    WebAppUsrPermsAlert.jpg

     

By enabling these items, a user can set alerts again.
 

 

Posted: 14-10-2009 22:53:52 by Marcel van der Lem | with 0 comments


See http://be2009.dutchgiraffe.com/ voor a good impression of this event. We surely had a lot of fun!
Posted: 10-10-2009 22:20:19 by Marcel van der Lem | with 0 comments


Posted: 4-10-2009 21:41:20 by Marcel van der Lem | with 0 comments