Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010 11/21/2018 7:41 AM 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 © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
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 enabled ‘Create’ dialog
Silverlight Out of the Box 11/21/2018 7:41 AM Silverlight Out of the Box demo Paul Stubbs Technical Evangelist Microsoft © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
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 11/21/2018 7:41 AM Custom Silverlight Web Part demo Paul Stubbs Technical Evangelist Microsoft © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
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 Microsoft SharePoint Conference 2009 11/21/2018 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 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
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 11/21/2018 7:41 AM Integrating with SharePoint demo Paul Stubbs Technical Evangelist Microsoft © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Taking SharePoint Offline Silverlight Out of Browser Easy install Cached Data Full Trust BCS Data Cache
Taking SharePoint offline 11/21/2018 7:41 AM Taking SharePoint offline demo Paul Stubbs Technical Evangelist Microsoft © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Silverlight in SharePoint App Patterns XAP location Packaging Data Integration Deployment Form Factor Library Custom Location None WSP None Custom Data Access Sandboxed Solution Farm Solution Web Part Full Screen
Summary Great Together Silverlight SharePoint Data Layer Presentation Client Integration Logic Layer Security App Model
Summary Great Together Silverlight SharePoint Presentation Client Integration Security App Model SharePoint Logic Layer Data Layer
Learn More about SharePoint 2010 Microsoft SharePoint Conference 2009 11/21/2018 Learn More about SharePoint 2010 Information for IT Pros at TechNet http://MSSharePointITPro.com Information for Developers at MSDN http://MSSharePointDeveloper.com Information for Everyone http://SharePoint.Microsoft.com © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
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
channel9.msdn.com/learn 11/21/2018 7:41 AM 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…. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11/21/2018 7:41 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11/21/2018 7:41 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.