If you find yourself in a situation when you need to attach to a process from VS 2010, to debug, and you’re code is running in a “sandbox”. You need to attach to the process SPUserCodeService.exe, not w3wp.exe. SharePoint 2010 hosts sandbox code in a secure service – the user code service – so it [...]
Posts Tagged ‘SharePoint 2010’
Debugging SP2010 Sandbox Code – Short and Sweet
Posted in Software Development, tagged SharePoint 2010 on December 13, 2009 | 1 Comment »
SP2010 Blogging Open
Posted in Applications, tagged SharePoint 2010 on October 19, 2009 | Leave a Comment »
Just in case you missed it, public blogging of SharePoint 2010 is now permitted – let the flood gates open ;)
SP2010 Developer Dashboard
Posted in Applications, tagged SharePoint 2010 on October 19, 2009 | 1 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 [...]
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: [...]
SharePoint 2010 Posts Coming
Posted in Applications, tagged SharePoint 2010 on July 21, 2009 | Leave a Comment »
It’s been quiet on my blog for some time, the usual excuses blah blah. The good news is that I intend to post plenty about SharePoint Server 2010, which was recently released to partners as a private beta. I am currently honoring my NDA agreement with Microsoft, so no posts until the beta goes public [...]
