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

Slides:



Advertisements
Similar presentations
Bob German Principal Architect Introduction to Cloud Hosted Apps Your apps here!
Advertisements

Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
Designing InfoPath Forms: The Dos and Donts Deploying InfoPath Forms: Making the right choice Adding custom business logicin case the built-in stuff isnt.
Microsoft SharePoint 2010 technology for Developers
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Solution Architect,Microsoft.
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.
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.
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.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
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
Lightning Talk Fred Rodriguez Nguyen Do CPSC 473 May 6, 2012.
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.
Bob German Principal Architect A New on SharePoint Development Building Light-Weight Web Parts with AngularJS
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
Tom Castiglia Hershey 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.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
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.
Facebook Like Solution in SharePoint Using JavaScript Amie Seisay
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
Update: Office & SharePoint Development Feb 2016.
John Liu. Senior Consultant for SharePoint Gurus Sydney User Groups, SharePoint Saturday, SharePoint Conferences,
Microsoft SharePoint 2010 The business collaboration platform for the Enterprise and the Web.
Getting Started on Office Addin with AngularJS and Yeoman
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.
Ramping Up On The SharePoint Framework (SPFx)
JQuery Fundamentals Introduction Tutorial Videos
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
IS 360 Course Introduction
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
AngularJS and SharePoint I Chris Douglas Senior SharePoint Developer ECS Web:
WCF Data Services and Silverlight
MS Confidential : SharePoint 2010 Developer Workshop (Beta1)
Presentation transcript:

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

SharePoint Saturday Perth 2012 about John Liu Senior Consultant for SharePoint Gurus Sydney Blog johnliu.net Community: user groups, SharePoint Conferences and SharePoint Loves.NET - SharePoint 2007, 2010, Silverlight & Windows Phone Video games, board games, D&D

SharePoint Saturday Perth 2012 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

SharePoint Saturday Perth 2012 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();

SharePoint Saturday Perth 2012 Intro - SharePoint REST API /_vti_bin/ListData.svc/

SharePoint Saturday Perth 2012 Quick tip with IE If you see this, IE is trying to be helpful Uncheck!

SharePoint Saturday Perth 2012 What are REST useful for? Within SharePoint - not much Incorrect - see John's KnockoutJS presentation - REST in 2010 ROCKS. 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

SharePoint Saturday Perth 2012 Question before demo How many have written web parts for SharePoint How many have build your own WCF services at some point – (for SharePoint?)

SharePoint Saturday Perth 2012 WRITE YOUR OWN SOAP AND REST SERVICES Code Demo

SharePoint Saturday Perth 2012 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

SharePoint Saturday Perth 2012 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

SharePoint Saturday Perth 2012 AJAXify your UI Define: AJAX – do it without refreshing the browser. This means a very seamless user experience 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

SharePoint Saturday Perth 2012 AJAX vs. Web Parts AJAX Script runs on client Need to learn jQuery AJAX Debug in browser Small payload Client side DOM manipulation Best Feature Super fast UI ASP.NET Web Parts ASP.NET hosted code Learn ASP.NET page lifecycle Debug in server Larger page size (waiting…) Connected web parts Configuring webparts is easier for non-developer

SharePoint Saturday Perth 2012 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

SharePoint Saturday Perth 2012 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 is a pretty good all round tool

SharePoint Saturday Perth 2012 WRITE YOUR OWN DATASERVICES, KNOCKOUTJS AND AJAX Bonus Demo

SharePoint Saturday Perth 2012 Future of jQuery, AJAX and REST jQuery data binding – jQuery.tmpl – jQote KnockoutJS – MVVM data-binding on client side

SharePoint Saturday Perth 2012

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

SharePoint Saturday Perth 2012 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

SharePoint Saturday Perth 2012 Help! I'm still on 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

SharePoint Saturday 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