Category: SharePoint

Invoking Custom WCF Services in SharePoint with Claims

Invoking Custom WCF Services in SharePoint with Claims

In SharePoint, if you host a custom WCF service in a claims-enabled application, the authentication via NTLM is actually quite tricky if you are attempting to invoke it from a console application, for example. There are various articles and Stackoverflow...

Programmatically Add SharePoint Lists with Schemas

Programmatically Add SharePoint Lists with Schemas

So you want to add a custom list with a schema, eh? In SharePoint, this is “easily” (lol) done by adding a custom list with a Schema.xml file and a list template XML file. But what if you don’t want...

A Simple Way to Improve CAML Query Performance

A Simple Way to Improve CAML Query Performance

There are many ways to improve the performance of your CAML queries, but I’ve recently found that in some cases, it’s as easy as switching the order of your filter operations. In this case, I was searching across a list...

SharePoint’s Image Problem

SharePoint’s Image Problem

SharePoint has an image problem with many folks. I’ve discussed it before, but I think I have a new perspective on the issue. You see, I recently interviewed a candidate that was Microsoft Certified IT Professional: SharePoint Administrator 2010 and Microsoft...

Watch Out For SPListItemCollection.Count and Judicious Use of RowLimit

Watch Out For SPListItemCollection.Count and Judicious Use of RowLimit

This seemingly innocuous call can be quite dangerous when used incorrectly. The reason is that this property invocation actually executes the query. This is OK if you plan on iterating the results because the results are cached, but costly if...

Has SharePoint Jumped the Shark?

Has SharePoint Jumped the Shark?

I’ve worked with SharePoint now for some 7 years starting from SharePoint 2007 beta 2 and I’ve worked with portals and CMS  systems in some form or another since 2003. Since 2006, most of my domain experience has been in...

Why Your CAML Query Might Be Returning No Results

Why Your CAML Query Might Be Returning No Results

A curious thing. We were working on a custom view for one of our lists and found that we were not able to retrieve a list item using a CAML query that should have worked. After spending quite a bit...