.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

New Developer Dashboard in SharePoint 2013

Posted By:Jean Paul       Posted Date: January 31, 2015    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we can explore the new Developer Dashboard in SharePoint 2013.
 

What is Developer Dashboard?

Developer Dashboard is an Instrumentation Framework. It allows us to trace request, SQL queries, and ULS logs within the browser.

The URL for accessing Developer Dashboard is:

http://server/_layouts/15/devdash.aspx

Following is the screen shot of the latest Developer Dashboard.

image

How to enable Developer Dashboard?

By default the Developer Dashboard is disabled.

We have to turn it to ON state from the current OFF state. To turn it ON, open the SharePoint Command Window (In Administrative Mode) & enter the following PowerShell command.

if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) 
{
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}

$content = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)

$dashboardSettings =$content.DeveloperDashboardSettings

$dashboardSettings.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::On

$dashboardSettings.Update()

On enabling it, we can see the Dashboard icon in default master page.

image

Please note that you can get the PowerShell Snapin Script from here:

http://www.sharepointcto.com/PowerShell/PowerShell.aspx

Instrumentation

We can click on each Request URL to view the associated Instrumentation data:

1. Server Info

2. Scopes

3. SQL

4. SPRequests

5. Asserts

6. Service Calls

7. ULS

8. Cache Calls

SQL

Using the SQL tab, we can extract the SQL associated with a request.

image

You can click on the SELECT link to see the query associated.

image

ULS

Using the ULS tab, we can extract the Unified Logging Service outputs associated with a request.

image

image

Please note in SharePoint 2010 we had the ULS integrated with the page which lead to page loading performance issues.

References

http://msdn.microsoft.com/en-us/library/office/ff512745(v=office.14).aspx

Summary

In this article we have explored New Developer Dashboard & How to enable it.v


 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend