460 likes | 638 Views
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
E N D
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 • Sandboxed Solutions • SharePoint Client Object Model and Silverlight • Developing for SharePoint Online - Dedicated • Summary
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
Standard Capabilities Pre-beta Key:
Dedicated Capabilities Pre-beta Key:
Case Studies On Premise SharePoint Online - Standard SharePoint Online - Dedicated
Availability • SharePoint Online is available today • Based on SharePoint 2007 • SharePoint Online future • Updated to SharePoint 2010 • Preview later this year • www.microsoftonline.com
Getting Started DEMO
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
Why Sandboxed Solutions? Developers Administrators Business
Why Sandboxed Solutions? Administrators Developers Business
Why Sandboxed Solutions? Developers Administrators Business
Why Sandboxed Solutions? Developers Administrators Business
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
Sandboxed Solution Elements • Scoped to SPSite/Site Collection • Web Parts • Lists • List Templates • Custom Actions • Workflows • Event Receivers • Content Types • Site Columns • …
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
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
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
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
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
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
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
Equivalent Objects • Member names mostly the same from server to client (e. g., SPWeb.QuickLaunchEnabled = Web.QuickLaunchEnabled)
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
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
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
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
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
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!
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
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
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
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
Required Slide Complete an evaluation on CommNet and enter to win!
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
© 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.