Using Extension Methods in your SharePoint Code

October 5, 2012 by · Leave a Comment
Filed under: Extension Methods 

Extension methods enable you to “add” methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. Extension methods are a special kind of static method, but they are called as if they were instance methods on the extended type. For client code written in C# and Visual Basic, there is no apparent difference between calling an extension method and the methods that are actually defined in a type.
Read more

How to Determine if a Page in the Master Page Gallery has been Modified

July 15, 2012 by · Leave a Comment
Filed under: Customization 

You may have an occasion where you need to determine which of the pages in the Master Page Gallery have been modified. The code below is intended to create a quick sandboxed code solution that will easily allow you to display all pages in the Master Page Gallery with each items customization status.
Read more

How to Create a List Programmatically

April 5, 2012 by · Leave a Comment
Filed under: Lists 

The following series of classes demonstrate one approach to creating lists programmatically. Please let me know if you have any questions about how this was structured.
Read more