123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computer-Programming >> View Article

Developer Dashboard In Sharepoint 2010: Boon For Sp Developers

Profile Picture
By Author: Dylan Rodriguez
Total Articles: 131
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Collaboration, team work, web apps and many more benefits are enjoyed due to SharePoint 2010 development. This invention existed with fresh add-ons and rich features and the article is going to describe one of all and that is Developer Dashboard. This feature enables a better SharePoint 2010 development or SharePoint consulting process. It is capable to analyse execution and performance of current page. SharePoint developers are benefited with details that show the execution time of queries and events. For a simpler clarification they are enabled with information that describes about the user logged on or the state of the page.
This feature is not available by default but those requiring it may opt for certain ways that will help in activating it. The ways are STSADM command, a .NET code, a PowerShell script and the Developer Dashboard configuration feature. You are availed with three levels of activation like On, Off and OnDemand. Performing this operation or process requires you to be an administrator on the SP farm.
In detail: STSADM: It is one of the command line and an option that enables modification of activation ...
... mode/status. This command is a substitute of PowerShell but still it is active and functional. If while using the dashboard in SharePoint 2010 you desire to assign your desired level then perform the below methods:
Enabling:
stsadm -o setproperty -pn developer-dashboard -pv On
Disabling:
stsadm -o setproperty -pn developer-dashboard -pv Off
On demand:
stsadm -o setproperty -pn developer-dashboard -pvOnDemand
The above is a substitute to PowerShell which is the responsible and a very powerful tool supporting .Net APIs’ handling. The tool is bought in with the release of SharePoint 2010 and totally meant for performing as a reference for server side administration of Microsoft products. You are facilitated with a shortcut to it with SharePoint 2010 Management Shell.
Update the display level of Developer Dashboard with below coding:
$srv = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$setting =$srv.DeveloperDashboardSettings
$setting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
$setting.Update()
As per your requirements you can change its value with On or Off or Ondemand. The only last hope or say method to update is with creation of code using .Net technology. You can develop a console app for executing below code:
usingMicrosoft.SharePoint.Administration;
SPDeveloperDashboardSettingsdashboardSettings = SPWebService.ContentService.DeveloperDashboardSettings;
dashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.OnDemand;
dashboardSettings.Update();
Finally you are supposed to add a reference to the library. The next step in SharePoint 2010 development or SharePoint consulting you require is the configuration feature from Dashboard. This feature allows you with efficient management of settings of dashboard once you are finished with its’ download, installation and activation. Also the activation is manageable along with setting and you can do this from the menu of General Applications Settings.
Let us learn about some more properties in Developer Dashboard. These properties are capable to refine and better the configuration. They are:
Maximum Critical Events to Track
Maximum SQL Queries to Track
Required Permissions
And Trace Enables
When the Developer Dashboard is disables you will naturally see no change in its visibility. At the time of activation mode you will see a block appearing at the end of the page. If you execute the page in normal way then the outline is appeared in green colour and in yellow at the time of warning and red when there is something critical or in case there is some error.

For More Information :- Sharepoint 2010 || Sharepoint consulting

Total Views: 246Word Count: 536See All articles From Author

Add Comment

Computer Programming Articles

1. How To Get Effective Data Engineering Job Support In The Usa
Author: RKIT Labs Team

2. How To Get Reliable Java Job Support For Professionals In The Usa & Canada
Author: RKIT Labs Team

3. Mastering React Js Faster: Expert Job Support For Developers And Teams
Author: RKIT Labs Team

4. Build Quality And Risk Management Into Your Clinical Operations
Author: Giselle Bates

5. Expert 3d Visualization And Floor Plan Services For Sustainable Growth
Author: I-Tech Lance

6. What Is A Proxy Indicator? A Deep Dive For Investors
Author: Byte Benz

7. Decoding Ai: Understanding The 3 Core Types Of Artificial Intelligence
Author: Byte Benz

8. Master Javafx Tutorial For Modern Ui Development In Java
Author: Tech Point

9. Java Swing Tutorial: A Complete Guide To Building Gui Applications
Author: Tech Point

10. How Erp Software Transforms Hospitals And Small Manufacturing Businesses In 2026
Author: Proplus Logics

11. From Code To Career – Why Ricr Is Bhopal’s Go-to Institute For Data Science & Business Analytics
Author: Rohan Rajput

12. From Fresher To Full-stack Developer With Java Skills
Author: lakshmisssit

13. Learn, Code, Analyze – Ricr Is Transforming Data Science & Coding Education In Bhopal
Author: Rohan Rajput

14. Building A Secure E-commerce Website With Core Php: Best Practices
Author: Andy

15. How To Choose The Right Software Development Partner For Your Business
Author: Rudram Technology Solutions LLP

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: