280 likes | 477 Views
PR03. Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010. Paul Stubbs pstubbs@microsoft.com Blogs.msdn.com/ pstubbs Followme @ paulstubbs Technical Evangelist Microsoft Corporation. Session Objectives. Understand the Silverlight features of SharePoint 2010.
E N D
PR03 Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010 Paul Stubbs pstubbs@microsoft.com Blogs.msdn.com/pstubbs Followme @ paulstubbs Technical Evangelist Microsoft Corporation
Session Objectives • Understand the Silverlight features of SharePoint 2010. • Identify the differnet patterns that developers use for Silverlight in SharePoint.
Silverlight • Cross Browser and Cross Platform plugin • Immersive Experiences • .NET • Data Binding • Smooth Streaming • Out of Browser • Local Messaging • Rapid Development • Design & Development Workflow
Rich Tooling for Developer and Designer Design & Development Workflow
Silverlight out of the box • Silverlight Web Part • Silverlight Media Web Part • Web Applications light up functionality • Silverlight Client Object Model • RESTful List Access • Sandbox compatible • Silverlight enabled ‘Create’ dialog • Silverlight Everywhere
Silverlight Out of the Box demo Paul Stubbs Technical Evangelist Microsoft
Building and Deploying Silverlight • Built in support in Visual Studio 2010 • Sandboxed and Farm Solutions support • SharePoint Online • F5 deploy and debug experience SharePoint WSP Visual Studio builds WSP package on F5 Silverlight XAP Deploy as SharePoint Farm or Sandboxed Solution
Custom Silverlight Web Part demo Paul Stubbs Technical Evangelist Microsoft
Integrating with SharePoint • Web Services • More coverage • Client Object Model • Site, navigation • security services • Very flexible • REST • Easiest to use • For fixed list schema Web Services Advanced Operations SharePoint Server Operations Client OM Advanced List Operations Site Operations Security REST Working with list data, fixed schema
SOAP Web Services • Fixed functions exposed in the product, or build your own • More MOSS, WSS functionality covered • Not all services representable in SL WCF Client • Details: • See SDK for list of web services • Of course, also in 2007!
Client Object Model • Based on SharePoint server-side OM • Also for JavaScript and Managed Code • Two main concepts: • To read data from objects, you must ask for it • Reads and writes are sent in a asynchronous batch • Details: • <SharePointRoot>\14\TEMPLATE\LAYOUTS\clientbin\ • Asynchronous Load model • Changes post-beta: XAP
Major Objects in Client Object Model Site Web ContentType Change List Navigation Form NavigationNode View UserCustomAction Field RoleDefinition ListItem User Interface RoleAssignment Data and Schema Folder WorkflowAssociation Logic File WorkflowTemplate Security WebPart
REST • Read/update/delete of list data • Object-oriented, ATOM-based means • Standards-based, consistent with other data sources • Details: • In VS, Add Service Reference • http://yourserver/yoursite/_vti_bin/listdata.svc • Beta needs ADO.NET 1.5 CTP 2 DLL references! • Add from C:\Program Files (x86)\ADO.NET Data Services V1.5 CTP2\sl_bin
Integrating with SharePoint demo Paul Stubbs Technical Evangelist Microsoft
Taking SharePoint Offline • Silverlight Out of Browser • Easy install • Cached Data • Full Trust • BCS Data Cache
Taking SharePoint offline demo Paul Stubbs Technical Evangelist Microsoft
Silverlight in SharePoint App Patterns XAP location Packaging Data Integration Deployment Form Factor Library CustomLocation None WSP None CustomData Access Sandboxed Solution Farm Solution Web Part Full Screen
Summary • Great Together Presentation Silverlight Client Integration Security App Model SharePoint Logic Layer Data Layer
Summary • Great Together Presentation Silverlight Client Integration Security App Model SharePoint Logic Layer Data Layer
Learn More about SharePoint 2010 Information forIT Prosat TechNet http://MSSharePointITPro.com Information forDevelopersat MSDN http://MSSharePointDeveloper.com Information forEveryone http://SharePoint.Microsoft.com
http://channel9.msdn.com/learn/courses Over 20 Training Units Over 70 Videos Over 12 Hours of Instruction Hands on Labs Coming Soon!
Early Adoption Program • Commitments: • NDA • Scope and release date information for a product or project that uses the desired technology. • Benefits: • Access to bits and content • Technical Briefings and training events • Technical Support • If you want to join: • Talk to your Microsoft representative and ask him/her to nominate your company. • If you don’t know whom to ask, send email to metroreq@microsoft.com and we’ll match you with someone in your country.
Questions? pstubbs@microsoft.com
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation forms online at MicrosoftPDC.com
Learn More On Channel 9 • Expand your PDC experience through Channel 9 • Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses channel9.msdn.com/learn Built by Developers for Developers….