Microsoft has published a SharePoint 2010 Code sample pack. Containing 101 Codes samples !
If I had that when i began to learn SharePoint, it would have saved me a lot of time.
Language are C# and VB, for SharePoint on premise AND Online !!
Some of really useful features are, for a sharepoint developper :
- Programmatically create masterpage for Sharepoint 2010, and apply the masterpage programmatically thanks to a Feature Event Receiver
- Programmatically create content type for Sharepoint 2010
- Create List definition for SharePoint 2010
Or some advanced one :
- Use Azure, WCF, Sharepoint Web service in Webpart, event receiver or Jobtimer
Here the complete list :
Thanks microsoft & msdn
Download link : http://code.msdn.microsoft.com/SharePoint-2010-101-Code-da251182