Microsoft released SharePoint 2010 101 code samples project.
Each code sample is part of the SharePoint 2010 101 code samples project. These samples are provided so that you can incorporate them directly in your code. Each code sample consists of a standalone project created in Microsoft Visual Studio 2010 and demonstrates a distinct feature or feature set. Each sample includes comments describing the sample and the expected results. Each sample also contains comments that explain how to set up your environment so that the sample code runs, where necessary.
Some of the code samples:
- SharePoint 2010: Developing JQuery-Enabled Web Parts
- SharePoint 2010: Developing AJAX-Enabled Web Parts
- SharePoint 2010: Developing Styled Master Pages
- SharePoint 2010: Creating Document Sets Programmaticall