This post is to help my my strained memory, the following post contains a list of all SharePoint 2010 feature GUIDs
Archive for the ‘Software Development’ Category
SP2010 Features – Reference
Posted in Software Development, tagged SharePoint 2010 on February 16, 2010 | Leave a Comment »
SP2010 ListData.svc give 404
Posted in Software Development, tagged SharePoint 2010 on January 5, 2010 | Leave a Comment »
If you see an HTTP 404 when accessing the /_vti_bin/ListData.svc WCF service in SharePoint 2010 then be sure to install the ADO.NET Data Services 1.5 CTP2 Link
Site Collection URL in a User Control
Posted in Software Development, tagged Microsoft SharePoint on December 15, 2009 | Leave a Comment »
Ever have a problem remembering something small, I do. No matter how many projects I develop in SharePoint I cannot seem to remember how to reference the site collection URL from a user control. So, after digging around for 5 minutes to find the answer I decided to blog it and save my aging memory: [...]
SP2010 Sandbox Development Tip
Posted in Software Development, tagged SharePoint 2010 on December 13, 2009 | Leave a Comment »
If you want to make sure that you aren’t using any of the restricted APIs before you deploy your solution to a sandbox environment, manually reference your project against: [SharePoint Root]\UserCode\assemblies\Microsoft.SharePoint.dll If your code compiles, then you’re pretty safe! NEVER DEPLOY code with this Microsoft.SharePoint.dll reference, instead reference the Microsoft.SharePoint.dll in [SharePoint Root]\ISAPI folder. From the [...]
Debugging SP2010 Sandbox Code – Short and Sweet
Posted in Software Development, tagged SharePoint 2010 on December 13, 2009 | 1 Comment »
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 [...]
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 [...]
Balsamiq Mockups makes for easy UI design
Posted in Applications, Software Development, Web Sites, tagged UI Design on August 12, 2009 | 1 Comment »
We’ve been using Balsamiq Mockups for some time at my day job, but until recently I hadn’t used the tool heavily on any of the projects I’d been working. Today I needed to shell out an example search results page for a project I am architecting in SharePoint. Think of Balsamiq Mockups as Visio for [...]
Ctrl-F Crash in Visual Studio
Posted in Everything, Software Development, tagged Resharper, Visual Studio on May 11, 2009 | Leave a Comment »
I have Resharper 4 installed into Visual Studio 2008. On 64-bit the CTRL-F functionality crashes the application, which has driving me nuts. My colleague Anand posted a solution to our company Intranet, so I stole his post for my blog for future reference. Thanks Anand ;) “Visual Studio might crash when using the Find feature [...]
Efficient way to add a new item to a SharePoint list
Posted in Everything, Software Development, tagged Microsoft SharePoint on February 25, 2009 | 11 Comments »
Never use SPList.Items.Add because this approach gets all items in the list before adding a new SPListItem. Use the following method instead, which does not preload the list items: 1: /// <summary> 2: /// More efficient way of adding an item to a list. 3: /// </summary> 4: /// <remarks> 5: /// GetItems with a [...]
SharePoint Development Best Practices (Summary)
Posted in Everything, Software Development, tagged Microsoft SharePoint on February 20, 2009 | 6 Comments »
I’ve read several blog posts of late regarding best practices for developing SharePoint API based components. Some developers are aware of issues surrounding disposal of SPSite and SPWeb objects and the use of SPList Item collections, and some are not. The simple fact is the SharePoint API is not intuitive when it comes usage of [...]