1 / 46

Developing for Microsoft SharePoint 2010 Online: Understanding the Boundaries

Required Slide. SESSION CODE: OSP204. Developing for Microsoft SharePoint 2010 Online: Understanding the Boundaries. Chris Mayo http://blogs.msdn.com/cmayo Microsoft Corporation. Agenda. SharePoint Online Overview SharePoint 2010 Development Overview Developing for SharePoint Online

liz
Télécharger la présentation

Developing for Microsoft SharePoint 2010 Online: Understanding the Boundaries

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Required Slide SESSION CODE: OSP204 Developing for Microsoft SharePoint 2010 Online: Understanding the Boundaries Chris Mayo http://blogs.msdn.com/cmayo Microsoft Corporation

  2. Agenda • SharePoint Online Overview • SharePoint 2010 Development Overview • Developing for SharePoint Online • Sandboxed Solutions • SharePoint Client Object Model and Silverlight • Developing for SharePoint Online - Dedicated • Summary

  3. SharePoint Online Overview

  4. SharePoint OnlineOverview

  5. The Power to Chose On Premise SharePoint Online - Standard SharePoint Online - Dedicated • Hosted in MSFT data center • Dedicated Hardware • Admin outsourced to MSFT • Partial and full trust customization* • Authenticated via NTLM • Designed for 5000+ seats • Self-hosted in your data center • Dedicated hardware • Central admin access • Partial and full trust customization • Authenticated via AD • Available to companies of any size • Hosted in MSFT data center • Multi-tenant/shared hardware • Admin outsourced to MSFT • Partial trust customization • Authenticated via certs and forms • Available for companies of any size

  6. Standard Capabilities Pre-beta Key:

  7. Dedicated Capabilities Pre-beta Key:

  8. Case Studies On Premise SharePoint Online - Standard SharePoint Online - Dedicated

  9. Availability • SharePoint Online is available today • Based on SharePoint 2007 • SharePoint Online future • Updated to SharePoint 2010 • Preview later this year • www.microsoftonline.com

  10. Getting Started DEMO

  11. SharePoint Online Development

  12. SharePoint 2010 Development • Development on Windows 7 or Vista x64 • Visual Studio 2010 Support • SharePoint Explorer • SharePoint Project and Item Templates • Visual Designers for Common Scenarios • F5 Debugging • Packaging Support (.wsp) • Developer Dashboard • Sandbox Solutions • Client Object Model • Silverlight • .NET • ECMA Script

  13. Sandbox Solutions

  14. Why Sandboxed Solutions? Developers Administrators Business

  15. Why Sandboxed Solutions? Administrators Developers Business

  16. Why Sandboxed Solutions? Developers Administrators Business

  17. Why Sandboxed Solutions? Developers Administrators Business

  18. Sandboxed Solutions • Development • Scoped to SPSite and below, Partial Trust, subject to CAS • Executes in sandboxed execution environment • User Code Service (SPUCHostService.exe) • Sandbox Worker Process (SPUCWorkerProcess.exe) • Sandbox Worker Process Proxy (SPUCWorkerProcessProxy.exe) • Deployment • Uploaded to Solution Gallery by Site Collection owner • No IT Admin required • Admin* • Solutions consume resource points • Solutions are disabled before affect site collection, etc. • Required for SPO-S, primary choice for SPO-D

  19. Sandboxed Solution Elements • Scoped to SPSite/Site Collection • Web Parts • Lists • List Templates • Custom Actions • Workflows • Event Receivers • Content Types • Site Columns • …

  20. Sandbox Architecture FRONT END BACK END Execution Manager(Inside Application Pool) Host Services (SPUCHostService.exe) Worker Service (SPUCWorkerProcess.exe) IIS(WPW3.EXE) Untrusted Code Subset Object Model Full Object Model

  21. Sandbox Architecture FRONT END BACK END Execution Manager(Inside Application Pool) Host Services (SPUCHostService.exe) Worker Service (SPUCWorkerProcess.exe) IIS(W3WP.EXE) Untrusted Code Subset Object Model Subset-Model Request Full Object Model

  22. Sandbox Architecture FRONT END BACK END Execution Manager(Inside Application Pool) Host Services (SPUCHostService.exe) Worker Service (SPUCWorkerProcess.exe) IIS(W3WP.EXE) Untrusted Code Subset Object Model Full-Model Request Full Object Model

  23. Sandbox Architecture FRONT END BACK END Execution Manager(Inside Application Pool) Host Services (SPUCHostService.exe) Worker Service (SPUCWorkerProcess.exe) IIS(W3WP.EXE) • while(true) • { • //Do a Bad Bad Thing! • } Run for 30sec Untrusted Code Subset Object Model Resource Wasting Call Full Object Model

  24. Sandboxed Solution Monitoring • Quotas specify limits for resource consumption per day • Summed across solutions deployed to Site Collection • i.e.: add up CPU Points for all solutions • Solution is self-regulated vs. quotas to protect Site Collection • Throttled • Deactivated

  25. Monitored Resources

  26. Developing Sandbox Solutions DEMO

  27. SharePoint Client Object Model and Silverlight

  28. Why Client Object Model? • More SharePoint Web services is a recurring request • Client Object Model provides complete API • Abstraction layer • Results returned as recognizable SharePoint objects • Consistent developer experience across platforms • .NET • ECMAScript • Silverlight

  29. Supported Areas • Site Collections and Sites • Lists, List Items, Views, and List Schemas • Files and Folders • Web, List, and List Item Property Bags • Web Parts • Security • Content Types • Site Templates and Site Collection Operations

  30. Equivalent Objects • Member names mostly the same from server to client (e. g., SPWeb.QuickLaunchEnabled = Web.QuickLaunchEnabled)

  31. Using the Client Object Model ECMAScriptControlsand Logic Browser Client.svc Server OM JSON Response ECMAScript OM XML Request Proxy XML Request Proxy Contentdatabase JSON Response Managed OM Managed Client Managed Controls and Logic SharePoint Server

  32. Creating Silverlight Web Parts • Web Parts host Silverlight apps • SharePoint ships with Silverlight web part • Custom Web Part • Custom Web Part • Custom properties sent to Silverlight via InitParameters • Silverlight access SharePoint via Client OM • XAP file deployed to LAYOUTS and loaded at run time

  33. SharePoint Client Object Model and Silverlight DEMO

  34. SharePoint Online – Dedicated Customization

  35. Deploying Customizations to SPO - Dedicated • No review/deployment process required • Customizations in the SharePoint UI • Microsoft SharePoint Designer customizations • Sandboxed Solutions • SharePoint Client Object Model Solutions • Require review/deployment by Microsoft Online operations team • Full Trust solutions • Server side code/file deployments

  36. SPO-D Process for Acquisition, Validation & Deployment Submitted via TAM in run state Or DSG in Deployment phase 2 3 1 Submitted via TAM in run state Or DSG in Deployment phase 4 6 5 7 8

  37. SPO-D Customization Process High Level Timeline Notify MSO 5 days in advance via a Change Request Notify MSO 5 days in advance via a Change Request 1 2 3 4 5 6 7 5 days * 16 days * 1 day * HLD Document submission ** Code Drop Submission ** Customer activities * Business days ** Customers must submit HLD and Code Drops along with updated versions of the Change Request templates HLD, Change Requests and Code Drop Templates available through Microsoft technical account manager (TAM) MSO activities

  38. Summary • SharePoint 2010+ The Cloud = SharePoint Online • SharePoint 2010 benefits • Cloud flexibility, scalability and economics • SharePoint Online Development • All the benefits of SharePoint 2010 Development • Sandboxed Solutions provides balance of agility and stability • SharePoint Client Object Model and Silverlight for RIA • SharePoint Online - Dedicated Development • Full trust solutions via MOS Change Process • Build for SharePoint 2010, Be Ready for SharePoint Online!

  39. Related Content • FDN-3 | FOUNDATIONAL SESSION: Extending Business Productivity to the Cloud • OSP212 | Overview of the SharePoint 2010 Developer Platform • OSP213 | SharePoint and Azure: How Do They Play Together? • OSP301 | Building Rich Internet Applications with Microsoft Silverlight and Microsoft SharePoint Server 2010 • OSP304 | Developing and Branding with the New User Interface Features in Microsoft SharePoint Server 2010

  40. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • For More Information – http://sharepoint.microsoft.com • SharePoint Developer Center – http://msdn.microsoft.com/sharepoint • SharePoint Tech Center – http://technet.microsoft.com/sharepoint • Official SharePoint Team Blog – http://blogs.msdn.com/sharepoint

  41. Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Related Content • Breakout Sessions – See Conference Guide for full list of OSP Track Sessions • Interactive Sessions – OSP Track has 10 Interactive Sessions – OSP01-INT – OSP10-INT • Hands-on Labs – OSP01-HOL – OSP20-HOL • Product Demo Stations – Yellow Section, OSP • Office 2010, SharePoint 2010, Project Server 2010, Visio 2010 have kiosks and demos

  42. Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers • http://microsoft.com/technet • http://microsoft.com/msdn

  43. Required Slide Complete an evaluation on CommNet and enter to win!

  44. Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

  45. © 2010 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.

  46. Required Slide

More Related