My Self  http://junooni.wordpress.com/   [email_address]   www.facebook.com/shakir.majeed User Group Leader of SharePoint Techies  
Agenda Microsoft Office 365 SharePoint Online SharePoint Development Sandboxed Solution Client Object Model
 
Microsoft Office 365 BRINGING TOGETHER CLOUD VERSIONS OF OUR MOST TRUSTED COMMUNICATIONS AND COLLABORATION PRODUCTS WITH THE LATEST VERSION OF OUR DESKTOP SUITE FOR BUSINESSES OF ALL SIZES. 
Office 365 Includes
 
SharePoint Online in Office 365 Ships with Office 365 Exchange Online, Lync Online, SharePoint Online, Office 2010 Pro Plus Cloud-based subscription service SharePoint 2010 hosted in the cloud (SaaS) Hosted in Microsoft datacenters Reliable (99.9% guaranteed uptime) Secure (ISO27001 and SAS70 certified) Subset of features, subset of platform
SharePoint 2010 Administration Server Farm Web Application Site Collection Sites Web Application Web Application Web Application … Site Collection Site Collection … Sites Lists Libraries Lists Libraries Sites
SharePoint Online Administration SharePoint Online Tenancy Site Collection Sites Site Collection Site Collection … Sites Lists Libraries Lists Libraries Sites
 
SharePoint Online Development OOTB Browser SharePoint Designer 2010 Visual Studio 2010 Sandbox Solutions Code Feature Receivers, Event Receivers, Navigation, Web Parts, InfoPath Forms Logic, Custom Declarative Workflow Activities Declarative Content Types, Site Columns, List Definitions, Lists, Custom Ribbon Actions/Extensions, Web templates, Site Pages, Page Layouts, Master Pages Client Object Model Silverlight, JavaScript .NET
 
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 admin Administration Solutions consume resource points Solutions are disabled before affect solutions/site collection
API Scope Subset of Microsoft.SharePoint Scoped to SPSite/Site Collection and below Site Columns Content Types List Definitions List Instances Web Parts Workflows Custom Actions Event Receivers Modules/Files
API Scope Limitations Partial Trust Web Application-scoped Features Farm-scoped Features No access to the file system Visual Web Parts Custom Action groups HideCustomAction element Content Type Binding Site template (.stp) and definitions (WebTemp.xml)  Code-based Workflow No external web service calls Web Service Calls BCS
Sandbox Execution Sandbox Worker Process ( SPUCWorkerProcess.exe ) User Code Service  ( SPUCHostService.exe ) Execution Manager (Inside Application Pool) IIS (WPW3.EXE) FRONT END Sandbox Worker Proxy Process ( SPUCWorkerProcessProxy.exe ) Full SP Object Model SP Object Model Subset Untrusted Code Web.config / CAS Policies Access restricted by CAS policy BACK END Subset-Model Request
Sandbox Execution Violatons Sandbox Worker Process ( SPUCWorkerProcess.exe ) User Code Service  ( SPUCHostService.exe ) Execution Manager (Inside Application Pool) IIS (WPW3.EXE) FRONT END Sandbox Worker Proxy Process ( SPUCWorkerProcessProxy.exe ) Full SP Object Model SP Object Model Subset Untrusted Code Web.config / CAS Policies Access restricted by CAS policy BACK END Full-Model Request
Visual Studio 2010 Support Visual Studio 2010 Support New Project Support Intellisense Packaging F5 Debugging SharePoint Power Tools Compilation Support Visual Web Part (Sandboxed)
Development Process Develop and debug on-premises Visual Studio 2010 F5 Debugging Confirm solution in staging site collection Dedicated site collection to dev team Upload *.wsp Acceptance testing Deploy  *.wsp uploaded to Solution Gallery spo.contoso.com Upload/ Activate/ Deactivate
Sandbox Deployment Upload Uploaded to Solution Gallery Requires Site Collection admin Activation Actually deploys files, registers Event Receivers, etc. Site Collection features activated Site features must be activated manually Deactivation Disables capabilities Deletion Removes the solution Upgrade Use the same solution ID, different name Features are compared, new features activated
 
Goal: Consistent object model rather than more services! Easier to use than SharePoint Web Services Consistent with server side object model Consistent developer experience across platforms Abstraction layer, recognizable objects, fewer calls Subset of the Microsoft.SharePoint object model Scoped to SiteCollection and lower Smaller libraries are more efficient Supports .NET,  Silverlight, JavaScript SharePoint Client Object Model
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 Note:  Restricted to SPO features!
Architecture/Execution XML Request XML Request JSON Response JSON Response Browser Managed Client SharePoint Server Client.svc Server OM Content database ECMAScript OM Proxy Managed OM Proxy Managed Controls and Logic ECMAScriptControlsand Logic
Accessing External Services/Data SPO restricted to Site Collection data Can’t call external web services BCS is not supported Silverlight/JavaScript can call external services Call external WCF/Web/REST/ODATA services Leverage Azure/AzureData/AppFabric Leverage On-Premise via Azure Service Bus Client Object Model provides SPO access SPO and external data/services
Summary Microsoft Office 365 SharePoint Online SharePoint Development Sandboxed Solution Client Object Model
Thank You http://junooni.wordpress.com/   [email_address]   www.facebook.com/shakir.majeed

Sharepoint Online

  • 1.
  • 2.
    My Self http://junooni.wordpress.com/ [email_address] www.facebook.com/shakir.majeed User Group Leader of SharePoint Techies  
  • 3.
    Agenda Microsoft Office365 SharePoint Online SharePoint Development Sandboxed Solution Client Object Model
  • 4.
  • 5.
    Microsoft Office 365BRINGING TOGETHER CLOUD VERSIONS OF OUR MOST TRUSTED COMMUNICATIONS AND COLLABORATION PRODUCTS WITH THE LATEST VERSION OF OUR DESKTOP SUITE FOR BUSINESSES OF ALL SIZES. 
  • 6.
  • 7.
  • 8.
    SharePoint Online inOffice 365 Ships with Office 365 Exchange Online, Lync Online, SharePoint Online, Office 2010 Pro Plus Cloud-based subscription service SharePoint 2010 hosted in the cloud (SaaS) Hosted in Microsoft datacenters Reliable (99.9% guaranteed uptime) Secure (ISO27001 and SAS70 certified) Subset of features, subset of platform
  • 9.
    SharePoint 2010 AdministrationServer Farm Web Application Site Collection Sites Web Application Web Application Web Application … Site Collection Site Collection … Sites Lists Libraries Lists Libraries Sites
  • 10.
    SharePoint Online AdministrationSharePoint Online Tenancy Site Collection Sites Site Collection Site Collection … Sites Lists Libraries Lists Libraries Sites
  • 11.
  • 12.
    SharePoint Online DevelopmentOOTB Browser SharePoint Designer 2010 Visual Studio 2010 Sandbox Solutions Code Feature Receivers, Event Receivers, Navigation, Web Parts, InfoPath Forms Logic, Custom Declarative Workflow Activities Declarative Content Types, Site Columns, List Definitions, Lists, Custom Ribbon Actions/Extensions, Web templates, Site Pages, Page Layouts, Master Pages Client Object Model Silverlight, JavaScript .NET
  • 13.
  • 14.
    Sandboxed Solutions DevelopmentScoped 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 admin Administration Solutions consume resource points Solutions are disabled before affect solutions/site collection
  • 15.
    API Scope Subsetof Microsoft.SharePoint Scoped to SPSite/Site Collection and below Site Columns Content Types List Definitions List Instances Web Parts Workflows Custom Actions Event Receivers Modules/Files
  • 16.
    API Scope LimitationsPartial Trust Web Application-scoped Features Farm-scoped Features No access to the file system Visual Web Parts Custom Action groups HideCustomAction element Content Type Binding Site template (.stp) and definitions (WebTemp.xml) Code-based Workflow No external web service calls Web Service Calls BCS
  • 17.
    Sandbox Execution SandboxWorker Process ( SPUCWorkerProcess.exe ) User Code Service ( SPUCHostService.exe ) Execution Manager (Inside Application Pool) IIS (WPW3.EXE) FRONT END Sandbox Worker Proxy Process ( SPUCWorkerProcessProxy.exe ) Full SP Object Model SP Object Model Subset Untrusted Code Web.config / CAS Policies Access restricted by CAS policy BACK END Subset-Model Request
  • 18.
    Sandbox Execution ViolatonsSandbox Worker Process ( SPUCWorkerProcess.exe ) User Code Service ( SPUCHostService.exe ) Execution Manager (Inside Application Pool) IIS (WPW3.EXE) FRONT END Sandbox Worker Proxy Process ( SPUCWorkerProcessProxy.exe ) Full SP Object Model SP Object Model Subset Untrusted Code Web.config / CAS Policies Access restricted by CAS policy BACK END Full-Model Request
  • 19.
    Visual Studio 2010Support Visual Studio 2010 Support New Project Support Intellisense Packaging F5 Debugging SharePoint Power Tools Compilation Support Visual Web Part (Sandboxed)
  • 20.
    Development Process Developand debug on-premises Visual Studio 2010 F5 Debugging Confirm solution in staging site collection Dedicated site collection to dev team Upload *.wsp Acceptance testing Deploy *.wsp uploaded to Solution Gallery spo.contoso.com Upload/ Activate/ Deactivate
  • 21.
    Sandbox Deployment UploadUploaded to Solution Gallery Requires Site Collection admin Activation Actually deploys files, registers Event Receivers, etc. Site Collection features activated Site features must be activated manually Deactivation Disables capabilities Deletion Removes the solution Upgrade Use the same solution ID, different name Features are compared, new features activated
  • 22.
  • 23.
    Goal: Consistent objectmodel rather than more services! Easier to use than SharePoint Web Services Consistent with server side object model Consistent developer experience across platforms Abstraction layer, recognizable objects, fewer calls Subset of the Microsoft.SharePoint object model Scoped to SiteCollection and lower Smaller libraries are more efficient Supports .NET, Silverlight, JavaScript SharePoint Client Object Model
  • 24.
    Supported Areas SiteCollections 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 Note: Restricted to SPO features!
  • 25.
    Architecture/Execution XML RequestXML Request JSON Response JSON Response Browser Managed Client SharePoint Server Client.svc Server OM Content database ECMAScript OM Proxy Managed OM Proxy Managed Controls and Logic ECMAScriptControlsand Logic
  • 26.
    Accessing External Services/DataSPO restricted to Site Collection data Can’t call external web services BCS is not supported Silverlight/JavaScript can call external services Call external WCF/Web/REST/ODATA services Leverage Azure/AzureData/AppFabric Leverage On-Premise via Azure Service Bus Client Object Model provides SPO access SPO and external data/services
  • 27.
    Summary Microsoft Office365 SharePoint Online SharePoint Development Sandboxed Solution Client Object Model
  • 28.
    Thank You http://junooni.wordpress.com/ [email_address] www.facebook.com/shakir.majeed

Editor's Notes

  • #3 About me, I am the User Group Leader for SharePoint Techies, and I am working as Senior SharePoint Consultant at Twin Technology. I got 3 plus years of experience on SharePoint technology. Plus I am Microsoft Certified Technology Specialist for Application Development in SharePoint 2010