Feeds:
Posts
Comments

Archive for the ‘Software Development’ Category

This post is to help my my strained memory, the following post contains a list of all SharePoint 2010 feature GUIDs

Read Full Post »

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

Read Full Post »

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: [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

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 [...]

Read Full Post »

Older Posts »