Developing Applications for SharePoint 2010

clip_image002

Microsoft patterns & practices is excited to announce the release of:

Developing Applications for SharePoint 2010

Customer Value

SharePoint 2010 introduces new ways of developing applications for the SharePoint platform. With SharePoint 2010, you can build multi-tenant, hosted applications on an infrastructure that is scalable, secure, and stable. You can create powerful, data-driven solutions using SharePoint lists or external data. You can create client-side functionality that takes advantage of modern browser capabilities and Silverlight to provide a rich user clip_image002[6]experience. These new features, operational models, and development tools make SharePoint a more complete application platform, and it also introduces new design and development decisions for customers. This guidance helps customers understand the decision points, tradeoffs, and performance implications that the new functionality introduces; it also helps customers learn how to take best advantage of the new capabilities that SharePoint 2010 provides.

What’s in Developing Applications for SharePoint 2010?

clip_image002[6]

Component

Description

The guide

"Application Foundations for SharePoint 2010" describes approaches you can use to address the challenges of testability, flexibility, configuration, logging and exception handling, and maintainability; it also explains how to use the SharePoint Guidance Library components in these areas.

"Execution Models in SharePoint 2010" provides deep 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.

Reference implementations

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

The SharePoint Guidance Library

The library is a collection of reusable classes delivered as source code that address common challenges in application development for the SharePoint platform. This release improves on the previous release of the library by adding support for sandboxed solutions and taking advantage of new SharePoint features. The SharePoint Guidance Library consists of three key components:

· SharePoint Service Locator. This provides a simple implementation of the Service Locator pattern for SharePoint applications. The service locator enables you to isolate your code from dependencies on external types, which makes your code more modular, easier to test, and easier to maintain.

· Application Settings Manager. This provides a robust and consistent mechanism for storing and retrieving configuration settings at each level of the SharePoint hierarchy, from individual sites (SPWeb) to the entire server farm (SPFarm).

· SharePoint Logger. This provides easy-to-use utility methods that you can employ to write information to the Windows Event log and the SharePoint Unified Logging Service (ULS) trace log. It also enables you to create custom diagnostic areas and categories for logging.

Click here to download this release

Goals of This Release

Too often, SharePoint projects have performance problems, are unstable or hard to manage in production, or are costly to implement because developers and architects do not understand what the platform provides or the implications of their design decisions. This guidance brings customers rapidly up to speed on the new capabilities for solution architects and developers in SharePoint 2010, together with the design options, tradeoffs, and implications that these capabilities introduce. The primary goal of the release is to help developers and architects understand how they can most effectively use SharePoint 2010 for different types of applications, and to ease their transition to the 2010 release while avoiding common design and development pitfalls. A secondary goal is to provide insights for experienced developers who are relatively new to SharePoint development, when used in conjunction with other learning material. This release closely follows the general availability date of SharePoint 2010 to provide customers with guidance when they need it most.

About patterns & practices

The Microsoft patterns & practices (p&p) team is responsible for delivering applied engineering guidance that helps software architects, developers, and their teams take full advantage of Microsoft’s platform technologies in their custom application development efforts.

Our goal is to help software development teams be more successful with the Microsoft application platform. We do this by delivering guidance that:

· Helps to simplify the Microsoft application platform.

· Provides solution guidance to common problems.

· Helps development teams grow their skills and learn.

For more information: https://msdn.microsoft.com/practices or https://practices.