It’s no secret that I’m a big fan of using extension methods to simplify work with the SharePoint object model. Wictor Wilén has allowed me to incorporate many of my “greatest hits” (and some new techniques! more on those in coming weeks) into his excellent SharePoint Extensions Lib project, which added a new release over the weekend (also see Wictor’s announcement).
It’s also worth pointing out that this isn’t just a library of extension methods. It also includes some useful base controls and auxilary classes, including SPDisposeCheckIgnoreAttribute and SPDisposeCheckID with IntelliSense support. If you have classes or methods that you simply can’t live without, we’d love to incorporate them as well.
Additional reading on some of the extensions included:
- LINQ for SPWebCollection Revisited: AsSafeEnumerable
- Elegant SPSite Elevation
- Elegant Inline Debug Tracing
- Introducing SPWeb.GetParentWeb()
- More SharePoint Higher-Order Functions
- Namespace: SPExLib.General
- Extensions to the .NET 3.5 SP1 Fx
- Namespace: SPExLib.SharePoint
- Extensions to the SharePoint object model.
- Namespace: SPExLib.SharePoint.Linq
- Linq extensions for the SharePoint object model. Including Linq operations on SPWeb/SPSiteCollection using dispose-safe-methods.
- Namespace: SPExLib.SharePoint.Linq.Base
- Implementation of IEnumerable<T> on the SPBaseCollection, which Linq-enables all collections in the SharePoint object model.
- Namespace: SPExLib.SharePoint.Security
- Extension methods that simplifies impersonation tasks on SPSite and SPWeb objects
- Namespace: SPExLib.SharePoint.Tools
- SPDispose checker utilities
- Namespace: SPExLib.Diagnostics
- Debug and Trace features
- Namespace: SPExLib.Controls
- Template classes for WebParts and EditorParts