Windows SharePoint Services Notes
SharePoint main objects SPSite = Site; Collection SPWeb = Site Web; SPSite siteCollection = new SPSite("http://localhost/sites/sitename"); SPWeb web = siteCollection.OpenWeb(); Features Features define a mechanism for defining site elements and adding them to a target site or site collection through a process called feature activation An example feature <Feature Id=“6AA03A00-02B5-4d83-A041-1CEB0DE9EF9E” Title=“Chris Document Manager” Description=“Test description” Version=“1.0.0.0” Scope=“Web” ImageUrl=“TestImage.gif” ReceiverAssembly=“DocumentManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=52cb0cd67d773ef7” ReceiverClass=“DocumentManager.FeatureReceiver” xmlns=“http://schemas.microsoft.com/sharepoint/"> <ElementManifests> <ElementManifest Location=“elements.xml” /> </ElementManifests> </Feature> ...