Michael Hofer Senior Consultant Microsoft Corporation
Give an update about What is new in SharePoint development VS08 Extensions for WSS SharePoint and Web 2.0 Focus on Silverlight integration Experience it: Demo, demo, demo Use it: Download full source code from
Microsoft Office SharePoint Server 2007 WCM Site Speakers WebPart Site Definition & Branding Picture Library Speakers‘ Data Picture Library Speakers‘ Data Web Service Lists.asmx Web Service Lists.asmx Silverlight 2 Application Speakers Rotator Pages & Navigation Build the Shape08 Website with MOSS Assumed audience satisfaction: Load data from SharePoint WebService Integrate Silverlight 2 App as WebPart
V1.2: Visual Studio 2008 .NET 3.5 V1.1: Visual Studio 2005 .NET 2.0 Project Templates Team Site, Blank Site, Web Part, List, Empty Sequential & State Machine Workflows Item Templates List Definition, List Instance, Content Type, Field Control, Web Part, Module, Template, Event Receiver Deployment & Debug support WSP View Automatic Build and Deploy Solution Generator for List & Site Definitions
Objectives Create the Shape08 Website with MOSS 07 Solution Create a custom site definition from „Blank Site“ template Include custom layouts, styles, start- page and navigation Products / Tools MOSS 2007 SP1 Visual Studio 2008 SP1 MS VS 08 Ext. for SharePoint (V1.2) MS SharePoint Designer 07 Resources Shape08 Website: HTML, CSS and images Heather Solomon‘ Base Master Page for Publishing Sites
Created styles and layouts Using Microsoft Office SharePoint Designer 2007 to prepare Masterpage Page Layout Stylesheet & images Created site definition from template „Blank Site Definition“ Adjusted onet.xml for publishing Replaced default.aspx with publishing page template. Added two features of type „Module“ Styles: CSS and Images Masterpages: Masterpage, Page Layout, Preview images Created MOSS Web-Application for demo
Create the Shape08 website using MOSS
Objectives Create a Silverlight 2 application Create a SharePoint independent test environment Solution Use Silverlight Application template Design UserControls Implement logic Products / Tools Visual Studio 2008 SP1 Silverlight Tools for VS 08 SP1 Expression Blend 2 SP1 Resources Shine Draw‘s Silverlight Image Rotator
Created Silverlight Application SpeakerControl: Represents the speaker SpeakerData: Data object of a speaker SpeakerRotatorControl: Rotates SpeakerControls based on collection of SpeakerData Created web site for testing Automatically created by VS 2008 Tools for Silverlight
Create the Silverlight 2 application
Objectives Create a WebPart that displays a Silverlight 2 application Add the webpart to the Shape08 web site Solution Prepare SharePoint for Silverlight Use WebPart Template IntegrateSL application in WebPart Use DocLib to store XAP. Products / Tools MOSS 2007 SP1 Visual Studio 2008 SP1 MS VS 08 Ext. for SharePoint (V1.2) MS SharePoint Designer 07 Resources Silverlight BluePrint for SharePoint
Prepared SharePoint for Silverlight Apps Added „.xap“ as MIME Type in IIS Added additional configuration in web.config Added System.Web.Silverlight.dll to \bin Created the WebPart skeleton
Create the Silverlight WebPart
Objectives Show speaker data that is hosted in SharePoint Enhance WebPart to allow selection of data source Solution Develop custom toolpart Pass configuration data to Silverlight app Consume lists.asmx Products / Tools MOSS 2007 SP1 Visual Studio 2008 SP1 MS VS 08 Ext. for SharePoint (V1.2) Silverlight Tools for VS 08 SP1 Resources Silverlight BluePrint for SharePoint
Created custom tool part Allows selection of picture library Prepared SharePoint to serve WCF WebService request Clientaccesspolicy.xml Web.config
Integrate with SharePoint WebServices
Microsoft Office SharePoint Server 2007 WCM Site Speakers WebPart Site Definition & Branding Picture Library Speakers‘ Data Picture Library Speakers‘ Data Web Service Lists.asmx Web Service Lists.asmx Silverlight 2 Application Speakers Rotator Pages & Navigation Built the Shape08 Website with MOSS Audience satisfaction: Loaded data from SharePoint WebService Integrated Silverlight 2 App as WebPart
Source Code of this session and related posts: Templates used for preparation: Heather Solomon’s Base Master Pages: spx spx Image Rotator – Shine Draw: illusion/flash-and-silverlight-3d-image-rotation/ illusion/flash-and-silverlight-3d-image-rotation/ Silverlight BluePrint for SharePoint – Media Viewer Example:
Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2: =7BF65B28-06E2-4E87-9BAD- 086E32185E68&displaylang=en =7BF65B28-06E2-4E87-9BAD- 086E32185E68&displaylang=en Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions User Guide, Version 1.1: =7BF65B28-06E2-4E87-9BAD- 086E32185E68&displaylang=en =7BF65B28-06E2-4E87-9BAD- 086E32185E68&displaylang=en
Silverlight: Microsoft® Silverlight™ 2 Software Development Kit =8D F-499C-986C- C3C7E87A60B3&displaylang=en =8D F-499C-986C- C3C7E87A60B3&displaylang=en Silverlight BluePrint for SharePoint: Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1: =c22d6a7b-546f ef6- d60c8ee221ed&displaylang=en =c22d6a7b-546f ef6- d60c8ee221ed&displaylang=en Microsoft ExpressioBlend™ 2 Service Pack 1: D=EB9B5C48-BA2B-4C39-A1C3- 135C60BBBE66&displaylang=den D=EB9B5C48-BA2B-4C39-A1C3- 135C60BBBE66&displaylang=de