Just in case you missed it, public blogging of SharePoint 2010 is now permitted – let the flood gates open ;)
Archive for October, 2009
SP2010 Blogging Open
Posted in Applications, tagged SharePoint 2010 on October 19, 2009 | Leave a Comment »
SP2010 Developer Dashboard
Posted in Applications, tagged SharePoint 2010 on October 19, 2009 | Leave a Comment »
The SP2010 Developer Dashboard allows developers to review object model calls, database queries, web part events – and the timings for these various happenings.
The following code enables the dashboard:
SPPerformanceMonitor SPPerfMon;
SPPerfMon = SPFarm.Local.PerformanceMonitor;
SPPerfMon.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.On;
SPPerfMon.Update();
The following code turns it off again:
SPPerformanceMonitor SPPerfMon;
SPPerfMon = SPFarm.Local.PerformanceMonitor;
SPPerfMon.DeveloperDashboardLevel = SPPerformanceMonitoringLevel.Off;
SPPerfMon.Update();
Development Setup for SP2010
Posted in Applications, Software Development, tagged SharePoint 2010 on October 19, 2009 | Leave a Comment »
Some important points to remember when developing against SP2010:
Make sure your Visual Studio project is set up for .NET 3.5, not .NET 4.0
Run Visual Studio as an Administrator to load debugging symbols
Make sure your project is set to compile for Any CPU or x64 (not x86 by default), otherwise your code will throw [...]
Provision 2010 Farm without the Mess
Posted in Applications, tagged SharePoint 2010 on October 19, 2009 | Leave a Comment »
Anyone who has created a new SP2010 Farm using the SharePoint Technologies Configuration Wizard will know that it makes a huge mess of SQL server, littering new databases with GUID extensions.
Those of you who have anal tendencies, like me, can sleep at night with nice clean database names with a script as follows:
Note: I am [...]