• Save
CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
Upcoming SlideShare
Loading in...5
×
 

CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston

on

  • 7,797 views

CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston

CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston
Updates with SharePoint 2013.
Tools and Libraries

Statistics

Views

Total Views
7,797
Views on SlideShare
7,797
Embed Views
0

Actions

Likes
1
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston CSOM (Client Side Object Model). Explained @ SharePoint Saturday Houston Presentation Transcript

  • Client Side Object Model(CSOM) - SharePoint 2013 KUNAAL KAPOOR 0
  • Welcome to SharePoint Saturday Houston Thank you for being a part of the 4th Annual SharePoint Saturday for the greater Houston area!• Please turn off all electronic devices or set them to vibrate.• If you must take a phone call, please do so in the hall so as not to disturb others.• Thanks to our Title Sponsor: 1
  • Information• Speaker presentation slides will be available at bit.ly/GoSPSHOU within a week• The Houston SharePoint User Group will be having it’s next meeting Wednesday April 17th. Please join us at www.h-spug.org 2
  • About MeKUNAAL KAPOORVice President DeliveryBrightStarrA SharePoint architect trying to connect business totechnology.Believe in providing useful solutions to empower the usersas much as possible.MCSD SharePoint 2010, MCSD ASP.NET 4.0
  • Contact InformationE-MAIL: Kunaal.Kapoor@BrightStarr.comTwitter: @KunaalKapoorBlog: http://geekswithblogs.net/kunaalkapoor/Company Website: http://www.brightstarr.com/
  • Agenda What’s CSOM? What’s new with SharePoint 2013? REST, OData, OAuth CSOM – Tools and Libraries Questions & Feedback*Session Duration: 1 hour (12:30 - 1:30 p.m.)
  • AgendaWhat’s CSOM?What’s new with SharePoint 2013?REST, OData, OAuthCSOM – Tools and LibrariesQuestions & Feedback
  • What’s CSOM?SharePoint has two frameworks for development: Server-side object model Used to run code on the server. Eg: WebParts, workflows, taxonomies and so on. Client-side object model (CSOM) Used to develop code that runs outside of the SharePoint server. Eg: Applications you have on your desktop, mobile etc.
  • What’s CSOM?
  • What’s CSOM?Introduced in SharePoint 2010Multiple implementationsManaged: .NET Framework & SilverlightJavaScript
  • AgendaWhat’s CSOM?What’s new with SharePoint 2013?REST, OData, OAuthCSOM – Tools and LibrariesQuestions & Feedback
  • CSOM - SharePoint 2013Expanded significantly!Increased coverage from CSOM in SharePoint2010, Including:Business DataSearchUser Profile & FeedsPublishingTaxonomyWorkflowsMinimal Download Strategy UXPush for client side actions
  • CSOM - SharePoint 2013Critical Part of the App Model. SharePoint apps cannot run any server-side code inside the SharePoint host environment.Four permutations for writing code ina SharePoint app: Client-side JavaScript that uses CSOM Client-side JavaScript that uses the REST API Server-side C# code that uses CSOM Server-side C# code that uses the REST API
  • CSOM - SharePoint 2013SharePoint 2010 SharePoint 2013SharePoint 2010 doesn’t support Client.svc service extended withdirect access to Client.svc REST capabilitiesCalls to the Client.svc should go Client.svc accepts HTTP GET, PUTthrough supported entry points and POST requestsSupported entry points: .NET, Implemented in accordance withSilverlight & JavaScript the OData Protocol
  • CSOM - SharePoint 2013
  • AgendaWhat’s CSOM?What’s new with SharePoint 2013?REST, OData, OAuthCSOM – APIs, Tools and LibrariesQuestions & Feedback
  • REST, OData and OAuthREST (Representational State Transfer) has a lot ofindustry momentum.It is a style of Software Architecture for distributedsystems.For SharePoint 2013 Nearly every API in the client object model has a corresponding REST endpoint.
  • REST, OData and OAuth http://www.odata.org/ODATA is the new data access API like ADO.It standardizes data access APIsBecoming really popular and used by Netflix, Azureand other industry leadersSupports formats like: Atom, JSON or plain XML
  • REST, Odata, OAuth http://oauth.netThe OAuth is an open authorization framework.It enables a application to obtain access to anHTTP service.It is meant to keep the authentication conflictsto a minimum.
  • AgendaWhat’s CSOM?What’s new with SharePoint 2013?REST, OData, OAuthCSOM – Tools and LibrariesQuestions & Feedback
  • CSOM –Tools & LibrariesJQueryhttp://jquery.comFast, small, and feature-rich JavaScript library.Easy-to-use API that works across a multitude ofbrowsers.jQuery has changed the way that millions ofpeople write JavaScriptLibrary Size = 32KB (minified)
  • CSOM – Tools and LibrariesDataJS http://datajs.codeplex.comCross-browser library for data driven applications.Simplifies working with OData and JSON responses.Library Size = 58KB (minified)Knockout http://knockoutjs.comJS implementation of the MVVM pattern.Declarative Bindings and Dependency CheckingAutomatic UI refreshLibrary Size = 40 KB (minified)
  • CSOM – Tools and LibrariesVisual Studio 2012Developer tools include: Project Templates Item TemplatesDesigner & Tool WindowsDeployment & Debugging
  • CSOM – Tools and LibrariesWeb Essentials 2012 Visual Studio 2012 Extension in Online Gallery Additional IntelliSense for CSS3 Warnings & Helpers for browser compatibility issues Selector IntelliSense for HTML elements, classes and IDs
  • CSOM – Tools and LibrariesFiddler – Available free @ http://fiddler2.com HTTP debugging proxy Inspect and debug traffic from any client Tamper client requests and server responses Useful in debugging SharePoint: JavaScript/ CSOM & REST based development Test the performance of your web sites & apps
  • CSOM – Tools and LibrariesFirebug – Available free @ http://getfirebug.comHTTP debugging proxyInspect and debug traffic from any clientTamper client requests and server responsesUseful in debugging SharePoint: JavaScriptCSOM & REST based developmentTest the performance of your web sites & apps
  • AgendaWhat’s CSOM?What’s new with SharePoint 2013?REST, OData, OAuthCSOM – APIs, Tools and LibrariesQuestions & Feedback
  • Resources & ReferencesMSDN: http://blogs.msdn.comCodePlex: http://codeplex.comOAuth: http://oauth.netOData: http://www.odata.org
  • Contact InformationE-MAIL: Kunaal.Kapoor@BrightStarr.comTwitter: @KunaalKapoorBlog: http://geekswithblogs.net/kunaalkapoor/Company Website: http://www.brightstarr.com/
  • Please Leave Feedback During Q&AIf you leave sessionfeedback andprovide contactinformation in thesurvey, you will bequalified for a book,ebook or DVDgiveaway.Scan the QR Code tothe right or go tobit.ly/spshou42 29
  • Thanks to all our Sponsors! 30