We all know the Content Query Web Part shipped with MOSS 2007. It is so far the best content aggregation solution available. While it is extremely flexible and allows you to define your own presentation layer, it lacks some basic aggregation features like results paging and dynamic content filtering. While Andrew Connell has presented recently a nice approach to achieve last one, I have decided to focus on the paging functionality.
Just yesterday I have passed another SharePoint exam: Microsoft Windows SharePoint Services 3.0 Application Development. It is the third SharePoint exam I have passed next to MOSS 2007 Application Development and Configuration.
While working recently with the SPSecurityTrimmedControl I have found that it doesn't work as most of us would expect it to. The usage of the AuthenticationRestrictions and PageModes attributes took my attention in particular.
We all know more or less the SPSecurityTrimmedControl. It basically allows you to display its contents conditionally depending on the permissions of the current user. It is definitely a great piece of engineering and very helpful in various scenarios but what if it's just not enough and you need either to customize it or to create your own wrapper?
Extension Methods are a new feature of Visual Studio 2008. They basically allow you to add new methods to already existing classes. You could for example introduce a new method: String.IsValidEmailAddress() which would validate whether the given string is a valid e-mail address. Scott Guthrie has written some more information about the Extension Methods in Visual Studio 2008.