Microsoft patterns and practices have released a guide: Developing Applications for SharePoint 2010
In the guide:
- “Application Foundations for SharePoint 2010” describes approaches you can use to address testing, flexibility, configuration, logging and exception handling, and maintainability.
- “Execution Models in SharePoint 2010” provides technical insights into the mechanics of the full-trust execution environment, the sandbox execution environment, and various hybrid approaches to executing code in SharePoint applications.
- “Data Models in SharePoint 2010” explains new list and external data functionality and data access techniques, key design decision points that can help you to choose between standard SharePoint lists and external lists, and techniques and patterns to address large lists and list aggregation.
- “Client Models in SharePoint 2010” provides guidance on how to best use the new client-side functionality to access data and build richer client experiences with Silverlight and Ajax.
Each section also contains a set of how-to topics. These explain how to perform specific tasks that the team found challenging to discover.
This release includes eight reference implementations that you can deploy to a SharePoint 2010 test environment. The reference implementations reinforce the key concepts in the guide and illustrate how to build applications that reflect real-world scenarios. Each reference implementation includes a detailed scenario and design overview, an explanation of the design decisions the team faced for the implementation, and an installation script to automate setup. This release includes reference implementations for the following scenarios:
- Sandboxed solution
- Sandboxed solution with a full-trust proxy
- Sandboxed solution with External List
- Sandboxed solution with custom workflow activities
- Farm Solution (timer job)
- SharePoint List Data Models
- External Data Models
- Client Application Models