Wednesday, July 17, 2013

Developer Dashboard in SharePoint 2013


The way to enable the Developer Dashboard in SharePoint 2013 remains the same. The following PowerShell script enables Developer Dashboard: $DevDashboardSettings = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings; $DevDashboardSettings.DisplayLevel = 'OnDemand';
$DevDashboardSettings.RequiredPermissions = 'EmptyMask';
$DevDashboardSettings.TraceEnabled = $true;
$DevDashboardSettings.Update()
This turns on Developer Dashboard for the entire farm meaning all sites are enabled.
The Developer Dashboard opens in a new separate window and gives more information than before.

The tabs Scopes, SQL, SPRequests, Asserts and Service Calls are not new and show similar information like before. However, the ULS tab can be very handy since it lists all the events related to the current HTTP Request:

The tab Cache Calls is also interesting and lists all the interactions happening behind the scenes with AppFabric.

On the top, next to the Requests tab, you can find Animation/Scenarios and MDS (Minimal Download Strategy) which gives information about client scripting (css/javascript) similar to browser toolbars.
Minimal Download Strategy http://www.wictorwilen.se/sharepoint-2013---introduction-to-the-minimal-download-strategy-mds

No comments:

Post a Comment