Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.

Slides:



Advertisements
Similar presentations
Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Advertisements

SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Microsoft SharePoint 2010 technology for Developers
Creating Knockout User Experiences in SharePoint with JavaScript Making awesome with Knockout, jQuery and SharePoint REST.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Silver SponsorsGold Sponsors Bronze Sponsors Develop and Build Workflow Apps in SP2013 Wait, Workflow Apps?
Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
Enterprise Smart Clients Architecture, Patterns, Design, Best Practices Keith Elder Manager, Sr. Software Engineer Quicken Loans Blog:
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
SharePoint Saturday Sponsors Gold Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
Windows SharePoint Services 3.0 (WSS v3) Browser Clients MS Word Clients MS Outlook Clients Microsoft Office SharePoint Server 2007 (MOSS) Windows.
Fraser Technical Solutions, LLC
Any host All components deployed to SharePoint Client side code App Web created for app Wrapper deployed to SharePoint Components deployed to.
Intro to Apps Minnesota SharePoint User Group Raymond April 2014.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
A GUIDE TO SHAREPOINT 2007 CUSTOMIZATION OPTIONS Heather Solomon, WSS MVP.
Michael Atkins. Note:  This is a non-technical overview  Some light technical background is given, to put things in context  Some of the content is.
Presented by…. Group 2 1. Programming language 2Introduction.
The new way to work together SharePoint Products Cloud Server Free.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Sponsors Gold Silver Bronze Optimising SharePoint For Internet Sites Shyam Narayan Kiandra IT William Cornwill Microsoft Australia.
A Close Look Inside the SharePoint Engine Randy Williams, MVP MOSS Synergy Corporate Technologies
JavaScript & jQuery the missing manual Chapter 11
Facebook Like Solution in SharePoint Using JavaScript Amie Seisay
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Office 365 Platform Flexible Tools Understand different provisioning options and their advantages and disadvantages…
Sustainable SharePoint 2010 Customizations By Bill Keys.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Cross Site Integration “mashups” cross site scripting.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
SharePoint Saturday Sponsors Gold Bronze Creating Knockout User Experiences in SharePoint with JavaScript Making awesome with Knockout, jQuery and SharePoint.
Dudok de Wit David.  Documents management in a deskless company  SharePoint Online as a solution  Redesigning the documentary organization  Interoperability.
Using the Right Method to Collect Information IW233 Amanda Murphy.
The Web Developer’s Toolbox Steve Fabian e:
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
Michael Hofer Senior Consultant Microsoft Corporation.
Yaroslav Pentsarskyy Involved in SharePoint since 2003 SharePoint MVP (2009- Present) Blog: sharemuch.com.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
John Liu. Senior Consultant for SharePoint Gurus Sydney User Groups, SharePoint Saturday, SharePoint Conferences,
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
Bravely Take your Skills to the Next Level: Office Add-Ins John Liu SharePoint Gurus.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Virtual techdays INDIA │ august 2010 Silverlight And SharePoint Saranya Sriram │ Developer Evangelist, Microsoft.
Apps for the modern enterprise INTRODUCTION TO SHAREPOINT AS A DEVELOPMENT PLATFORM RON COURVILLE.
Virtual techdays INDIA │ November 2010 SharePoint 2010 – Your one stop shop for all portal requirements Saranya Sriram │ Developer Evangelist, Microsoft.
Bhakthi Liyanage SPS Toronto July GOLD BRONZE / PRIZES SILVER.
Integrating SharePoint 2010 with Office 2010
Line of Business Solutions in SharePoint Online
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Accessing and Surfacing LOB Data in SharePoint 2010
SharePoint-Hosted Apps and JavaScript
Multi-Farm, Cross-Continent SharePoint Architecture
IS 360 Course Introduction
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Customizing the SharePoint Mobile Experience
AngularJS and SharePoint I Chris Douglas Senior SharePoint Developer ECS Web:
SharePoint Foundation 2010
WCF Data Services and Silverlight
St. Louis Day of Dot Net 2011 Building Web Parts for an Office 365 SharePoint Site Becky Bertram Independent SharePoint Consultant SharePoint MVP, MCSD.NET,
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX

Melbourne 2011 BUILDING YOUR OWN CUSTOM REST SERVICES AND CONSUMING THEM WITH JQUERY AJAX Custom REST services and jQuery AJAX

Melbourne 2011 about John Liu Senior Consultant for SharePoint Gurus Blogging User Groups, SharePoint Conferences and SharePoint Saturday Loves.NET SharePoint 2007, 2010, Silverlight & Windows Surface!

Melbourne 2011 Contents Intro – jQuery – REST API (out of the box) Create SOAP service Create REST service Highly responsive websites with jQuery AJAX Create ADO.NET DataService

Melbourne 2011 Intro - jQuery in 1 slide JavaScript library Select using CSS rules, then do something with the selected set Lots of helper functions, utilities Externally injected so doesn’t interfere with how SharePoint works $("div.mybox").addClass("yourbox").show();

Melbourne 2011 Intro - SharePoint REST API /_vti_bin/ListData.svc/

Melbourne 2011 Quick tip with IE If you see this, IE is trying to be helpful Uncheck!

Melbourne 2011 What are REST useful for? Within SharePoint - not much With other applications - extremely useful Very simple interface that many 3 rd party apps know how to talk – Phone apps, JavaScript apps – Reporting apps, integration apps – SOAP is a lot more complex with creating the right SOAP envelop – REST is easy as long as you can make a web page request

Melbourne 2011 Question before demo How many have written webparts for SharePoint How many have build your own WCF services at some point? In SharePoint?

Melbourne 2011 WRITE YOUR OWN SOAP AND REST SERVICES Code Demo

Melbourne 2011 Building your own WCF services Useful for InfoPath The problem with WCF: Error “This collection already contains an address with scheme http” Configuration necessary in web.config Use Microsoft.SharePoint.Client.Services.MultipleBa seAddressBasicHttpBindingServiceHostFactory

Melbourne 2011 What you can do in a REST service SPContext.Current Check current user's roles and permissions Make read and write database calls SPSecurity.RunWithElevatedPrivileges SPUtility.Send Do whatever you want! Use Microsoft.SharePoint.Client.Services.MultipleBaseAd dressWebServiceHostFactory Reminder: remember SPDisposeCheck

Melbourne 2011 AJAXify your UI Define: AJAX – do it without refreshing the browser Grab just the data I need from a quick service call Find where I want it to go Form HTML string and append() into the existing DOM structure

Melbourne 2011 AJAX vs. Web Parts AJAX Script runs on client Need to learn jQuery AJAX Debug in browser Small payload Client side DOM manipulation Super fast UI ASP.NET Web Parts ASP.NET hosted code Learn ASP.NET page lifecycle Debug in server Larger page size Connected web parts Configuring webparts is easier for non-developer

Melbourne 2011 Deploy is simple Farm Solution But doesn’t interfere with your site collections or deploy anything into SharePoint Stuffed up? Delete the service folder and it's gone! WebParts can be sandbox solutions – so if your service is stable, you only need to deploy/redeploy sandbox webparts to update your UI / script Your script can be stored in the library, can be modified without redeploy

Melbourne 2011 Debug? Where!? Debug service on the server – Holds up App Pool - Debug webpart on the browser – Holds up only your own browser – IE9's dev tools are pretty good all round

Melbourne 2011 WRITE YOUR OWN DATASERVICES Bonus Code Demo

Melbourne 2011 Future of jQuery AJAX + REST jQuery – tmpl - templating – jQote - templating – datalink - link two objects together (databinding) Out of box grids – Telerik

Melbourne 2011 Summary Hands up if you think this is better than writing webparts :-) jQuery REST API (out of the box) Create SOAP service Create REST service Highly responsive websites with jQuery AJAX Create ADO.NET DataService

Melbourne 2011 Resources REST and jQuery AJAX 1/02/22/calling-a-wcf-service-using-jquery-in- sharepoint.aspx Service-using-jQuery-in-SharePoint-the-correct- way.aspx Data Service

Melbourne 2011 Help me, I'm still on 2007, you're my only hope jQuery wrapper around SharePoint 2007 (and 2010) SOAP services Notably, via JavaScript you can: – Update item without form – Start workflow on any item – Get information from user profile service

Thanks for listening! Remember to submit your feedback so you can go into the raffle draw at the end of the day! And don’t forget that you have to be at the draw to claim your prizes! Sponsors Gold Silver