Two excellent resources for ramping up on SharePoint 2007 event receivers.
http://blogs.msdn.com/brianwilson/archive/2007/03/05/part-1-event-handlers-everything-you-need-to-know-about-microsoft-office-sharepoint-portal-server-moss-event-handlers.aspx
http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=69
The PortalSiteMapProvider class is the base provider used by the four default “CMS” SiteMapProviders:
GlobalNavSiteMapProvider
CombinedNavSiteMapProvider
CurrentNavSiteMapProvider
CurrentNavSiteMapProviderNoEncode
That is, all of these SiteMapProviders use the same base code to generate a data source, but their “output” differs slightly due to the different attributes that are applied.
Recently, we wanted to filter out the pages from showing up in our left-navigation. [...]
We had a discussion amongst the developers in our group recently: what is an SPSite, what is an SPWeb, and what is the difference? Which once should I work with in my code? Looking at MSDN for the SPSite class, we see this description:
SPSite Represents a collection of sites on a virtual server, including a [...]
Might as well dive right in and make the inaugural posting useful…
Anyone who’s done some development work with SharePoint probably already knows about this article, but I wanted to place it here for reference:
Best Practices: Using Disposable Windows SharePoint Services Objects
Review the article very carefully… there are things we do often such as getting to [...]