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
SPExLib Features
- 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
June 1, 2009 at 4:18 am
this is really an amazing, helpful library!! thanks for sharing this
June 1, 2009 at 4:34 am
[…] take a look at https://solutionizing.net/2009/06/01/spexlib-release-these-are-a-few-of-my-favorite-things/ for a post with some personal favorite functions of […]
June 4, 2009 at 7:39 pm
[…] SPExLib Release: These Are A Few Of My Favorite Things […]
January 27, 2010 at 6:04 am
[…] January 27, 2010 — Keith Dahlby While working on SPExLib (several months ago), I revisited this post, which presented a functional approach to a solution […]