©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Solution Architect,Microsoft Technical Community Leader, Microsoft Certified Trained,MCPD,MCTS, MCTIP. For SharePoint and.NET /Azure Vice -President, Technology Middle east and Europe (DAVIGOLD LLC)
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July User Groups Dev Saturday UAE
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Agenda OVERVIEW NEW API SHAREPOINT CSOM JSOM INTRODUCTION REST IMPROVEMENT New JS based Modern Frameworks (JS Knockout) DEMO New tools Cloud App.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Portals and Collaboration Search Enterprise Content Management Web Content Management Social and Communities Business Connectivity Services Business Intelligence SharePoint Server 2013 Workloads
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Entry Points for Developers in SharePoint 2013
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July What's New in SharePoint 15
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July What's New in SharePoint 15
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July What's New in SharePoint 15
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July SharePoint 2013 APIs Improvements · More Web Standards (Odata,Oauth) · More Client Side Support · Improved Rest Model and EndPoint · Odata URL base Query Engine · OAuth Web base identity system. · Mobile Templates.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July SharePoint 2013 APIs Improvements By Features Feature.NET Framework or Silverlight object modelsJavaScript object modelREST/OData endpoints called from a Windows platform or JavaScript Object-oriented programmingYes No Batch processingYes No APIs for conditional processing and exception handling YesNo Availability of LINQ syntaxYesNo Combining list data from different SharePoint web applications YesNoYes Familiarity to experienced REST/OData developers No Yes Similarity to non-Windows programming or JavaScript programming NoYes Strong typing for list item fieldsNo (except with LINQ)No Yes, from Windows platform No, from JavaScript Leveraging jQuery, Knockout, and other JavaScript libraries No
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July The device on which the code runs.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Preview us CSOM Everything WAS client.svc Issues with CSOM No Direct Access to client.svc Web Service Must use a Proxy or Supported End Points Supports.NET Silverlight & JavaScript
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July CSOM
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July SharePoint 2013 CSOM
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Changes in SharePoint 2013 x Extended REST Support for Client.svc New APIs New APIs for Server Functionality API for Windows Phone Development For More Information Client.svc with REST Clients Direct Access to client.svc Web Service Access HTTP GET, PUT, Merge, POST Requests OData Implementation Writing Code from NON Microsoft Apps
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July New CSOM API Support E- Discovery Taxonom y Search WorkflowSharing User Profiles Analytics Publishin g Feeds IRM Business Data Lists Support both Server Side code and REST
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July SharePoint 2013 CSOM Architecture C Silverlight Library.NET CLR Library JavaScript Library _api Execute Query Server Client OData Custom Client Code
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Changes in SharePoint 2013 CSOM Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.RunTime.dll Available in SharePoint Foundation contains the core classes
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Customization packaging and deployment options Farm Full trust solutions Customizations to file system of servers Classic model from 2007 Sandbox Declarative elements Partially trusted code service still included for limited server side support SP Apps New Apps model Deployed from corporate catalog or office market place Manage permission and licenses specifically Preferred option
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Demo Managed Client OM
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Demo JavaScript Client OM
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July MVVM Separation of powers/interests Model Holds the information Independent of UI View Formats the information State representation of the view model ViewModel Encapsulates behavior Code representation of data and operations
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Knockout.js JavaScript Library Free, Open Source No dependencies (other than JavaScript) Compatible with all major browsers Used to implement Model View ViewModel pattern 2-Way Data Binding Notify subscribers about changes
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July What’s REST and Why? Significant Industry Momentum Simple and Easier to Use Easier than SOAP Based WS’s Higher Productivity using JavaScript and JQuery Results as JSON and ATOM How to Query Everything is URL Results can be cached on Proxy Servers.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July REST in SharePoint 2010 ListData.svc
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July REST in SharePoint 2013 NEW : CSOM URLS can go through /_api/folder Replace with Lot more simple URL Helps in 256 Character Limit of URLs in browser ListData.svc is still there for backword compatiability OLD Aps will still work but needs to be updated
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Client OM and OData
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July What is OData? Access to Information Across Platforms Uses HTTP Verbs Get, Put, Delete, Merge, Post Support for all kind of Data, RD, FS, CMS or Web Built on top of HTTP, ATOM and JSON Web Protocol for Basic CRUD Operations on Data Brand New Data Access API More
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.
Methods will be mapped into either OData Maps CRUD Operations to HTTP Verbs OData Implementation Details Update Mapped to PUT or MERGE Delete Mapped to DELETE Service Operation via POST, PUT, MERGE or Delete Insert Mapped to POST Read mapped to GET Navigation Operations e.g. List.getByTitle via a GET Request More
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July URLs Service Root URI : Resource Path – SQL Table or Web or List Query Strings Options – $Filter, $select, $orderby
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July REST – Return ATOM XML vs. JSON Control data format response with ACCEPT header ATOM-PUB XML Verbose Easier to Read ACCEPT = application/atom+xml ATOM-PUB XML Verbose Easier to Read ACCEPT = application/atom+xml JSON Condensed notation Smaller payload ACCEPT = application/json;odata=verbose; JSON Condensed notation Smaller payload ACCEPT = application/json;odata=verbose;
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Managing Objects to Resources
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Summary CSOM Now Covers More Important for App Development REST Improved Syntax Easy to Use with JavaScript than C#
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Some Great Resources
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Office 365 Cloud Business App Visual Studio 2013 introduces a new project template for Office 365 Cloud Business App to enable developers to quickly build modern business applications that can integrate with and extend the Office 365 platform experience. The Cloud Business App template provides a rich set of tools and built-in functionality that make it easy to work with data and leverage Office 365 services such as identity and social. Build Supper Quick Apps. Connect SQL Server based Data Sources. Create Multiple Screens for all Devices. Use Workflow with Cloud Business App. Essay debugging. Field Validation.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Office 365 Cloud Business App
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Office 365 Cloud Business App
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Office 365 Cloud Business App
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July 2012.