The developer dashboard is a great new feature that developers can use to aid
them in tuning performance on a page. This new functionality adds
information to the bottom of any page in SharePoint that displays performance
information and what SQL queries were executed to display the page. To my
knowledge, there is currently no way in the UI to turn this on, so you can do
this with a quick x64 console application. This is soon to become a quite
popular code snippet I am sure.
SPPerformanceMonitor performanceMonitor = SPFarm.Local.PerformanceMonitor;
performanceMonitor.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.On;
All you need is those two lines of code. When you are done with it, simply
set the monitoring level to Off.
By now, you have heard about how the SharePoint 2010 development experience
has been improved. We can easily deploy web parts and other code without
having to manually manipulate any XML files. What about under partial trust
though? Many of you that know me know that I have pushed using Code Access
Security quite a bit through a series of blog posts and talks. So it would
be irresponsible of me not to talk about how we can do that in Visual Studio
2010. The good news is that it is a lot easier.
Let’s start by creating a new SharePoint project in Visual Studio 2010 and
If you’re like me at all, you like to see compete examples of how to do
things. Yes, I can usually read something and apply what I already know,
but sometimes, it is nice to see a fully working example of something, before
you try something on your own. Today’s example is how to deploy a data
connections library using a feature. I already posted how to deploy a .UDCX
file to a data connection library so I thought this post would go well with
it. Our example starts with a standard feature.xml file.
Now we need to build our elements.xml file. There are two things we need to
One thing that is getting a lot of attention in SharePoint 2010 is the use of
PowerShell. It’s too cool and you really have a lot of power (no pun
intended) to automate just about anything in SharePoint. In fact Kyle Kelin
(@spkyle) is speaking this weekend about it at SharePoint Saturday Houston
(#spshou). The Microsoft.SharePoint.PowerShell snapin comes with over 500
commands, but you might want to create your own. Today’s post will show
you how to get started. There are a lot of great posts out there on how to
build a regular PowerShell cmdlet, but I wanted to build one tha... (more)
You might have heard today that the new Boards (aka Pinterest) feature for
Office Delve was released to First Release customers of Office 365. I was
lucky enough to have it show up already in a few of my tenants, so I thought
I would share my initial experience.
When you open Delve now, you’ll notice a new icon that says Add to board.
Clicking on the icon will allow you to type the name of a new board or select
an existing one. Pick wisely as there is currently no way to remove the
item from the board. Nor is there a way to change the name of the board.
I suspect we’ll see t... (more)