Blog IT

SPC’09: Building Solutions with Business Connectivity Services using Visual Studio 2010

Logo Microsoft SharePoint 2010

Disclaimer: This post is based on notes taken while watching a conference session. For that reason, it may contain incorrect information or data that I might have misunderstood. Also, the product it refers to was not available yet at the time of the writing, thus, not allowing me to validate the present information.

This was the second session I attended on the second day of the SharePoint Conference 2009 and it was given by Rolando Jimenez from Microsoft.

Business Connectivity Services

According to Rolando, Business Connectivity Services (BCS) are “a set of out-of-the-box features, services and tools that enhance SharePoint to streamline solutions of deep integration of external data and services.”

In the SharePoint Pie, Business Connectivity Services belongs to the Composite slice. It’s the new and much improved version of the old Business Data Catalog, introduced in SharePoint 2007.

Regarding BCS, Microsoft has invested in three main areas:

Core Concepts

The main building block for BCS is the new concept of External Content Type (ECT), which is the new name for what was previously known as BDC Entity. An ECT describes:

This definition will then be used by the BCS Runtime, both in SharePoint (thin client) and in Office Client applications (rich client) to access the external data.

The other important concept is the External List. This is a new type of list in SharePoint 2010 that allows you to surface data retrieved by BCS as defined by the External Content Type associated to it.

BCS Tools Overview

There are three types of solutions that use BCS:

Regarding solution creation, there are mainly two approaches:

Demos

After the overviews, Rolando demonstrated a few Advanced Solution scenarios. Here are the notes I gathered from the demos.

Demo 1: BCS Hello World

Demo 2: Author Custom Connectivity in Visual Studio

Demo 3: Discover and Configure ECT for Outlook Offlining in SharePoint Designer

Demo 4: Custom Rich Client Integration (Excel) with VSTO