Build a RESTful service with OData

Slides:



Advertisements
Similar presentations
What Is Microsoft Marketplace DataMarket What Is Microsoft Marketplace DataMarket? Michael Stiefel
Advertisements

SharePoint and Knockout for the REST of Us
WHO AM I? REST? Dissertation by Roy Fielding 2000 Architectural Styles and the Design of Network-based Software Architectures ReST = Representational.
Dhananjay Kumar
OASIS OData Technical Committee. AGENDA Introduction OASIS OData Technical Committee OData Overview Work of the Technical Committee Q&A.
Background REST (Representational State Transfer) What does it mean to be RESTful? Why REST? WCF How does WCF support REST? What are the pieces we need.
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Solution Architect,Microsoft.
Jeff Derstadt Senior Development Lead Microsoft Corporation Patterns & Architecture.
T Sponsors Paul Larsen Principal Program Manager, Microsoft Integrating cloud with existing IBM Systems BizTalk Summit 2015 – London ExCeL London | April.
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
MVC Controller Architecture Deep Dive. Holistic Look Where do controllers fit?
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
ASP. Net is a rich web framework that leverages well known patterns and JavaScript frameworks to build great web experiences quickly.
ASP.NET Web API Udaiappa Ramachandran NHDN-Nashua.NET/Cloud Computing UG Lead Blog:
What’s New? – BCS 2013 Brett Lonsdale.  Co-founder of Lightning Tools  One of the hosts on the SharePoint Pod Show  Co-organizer of SharePoint Saturday.
ASP.NET + jQuery + Odata = Goodness Stephen Walther Superexpert.com
Getting Started with the ASP.NET Web API Dhananjay Kumar Infragistics Consultant Microsoft MVP
ADO.NET DATA SERVICES Mike Taulty Developer & Platform Group Microsoft UK
ASP.NET Web API. ASP.NET Members MS Open Source ASP.NET MVC 4, ASP.NET Web API and ASP.NET Web Pages v2 (Razor) now all open source ASP.NET MVC 4, ASP.NET.
Open Data Protocol * Han Wang 11/30/2012 *
Project “Astoria” first announced in Mix 2007 Shared early prototypes, got tons of feedback Now we’re talking about the real deal Production quality bits,
DDI & Model-View-Controller: An Architectural Perspective Dennis Wegener, Matthäus Zloch, Thomas Bosch (GESIS) Dagstuhl,
Introduction to the SharePoint 2013 REST API. 2 About Me SharePoint Solutions Architect at Sparkhound in Baton Rouge
RESTful Web Service 2014 년 12 월 한연희
HTML5 AND THE FUTURE JAVASCRIPT PLATFORM Marcelo Lopez Ruiz Senior Software Design Engineer Microsoft Corporation.
06 | HTTP Services with Web API Bruno Terkaly | Technical Evangelist Bret Stateham | Technical Evangelist.
RESTful Web Services What is RESTful?
ODATA DESIGN PRINCIPLES July 26, BUILD ON HTTP, REST OData is a RESTful HTTP Protocol Build on HTTP Entities modeled as Resources Relationships.
Data lifecycle (CRUD+) Operation logic, query, databinding, change tracking, unit of work Validation User: authn/authz/profile.
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
Vladan Strigo CTO NETmedia ASP.NET Web Api Tips & Tricks.
Creating & Consuming Open Data (OData) Cloud Services using LightSwitch Beth Massi Senior Program Manager, Visual Studio
To OData or Not to OData Chris Eargle kodefuguru.com.
Redmond Protocols Plugfest 2016 Andrew Davidoff Mail, Calendar, and Contacts Graph API Demonstration Senior Software Engineer.
Introduction to .NET Florin Olariu
5/12/2018 3:54 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Azure Identity Premier Fast Start
Interacting with O365 using MS Graph API
Better RESTFul API – Best Practices
OpenInsight as a REST API Engine
Getting Started with Alfresco Development
ASP.NET MVC Introduction
Baoming Yu(于宝明) Software Engineer Wicresoft
CMPE 280 Web UI Design and Development October 24 Class Meeting
Leveraging The Microsoft Graph
IBM Data Server Gateway for OData
Getting started with Alfresco Development
Connector Solution Enables Customers to Sync Calendars with Office 365 Conversation Streams “Office 365 is one of the most popular collaborative solutions.
Ashish Pandit IT Architect, Middleware & Integration Services
WEB API.
Housing application Presented by Phil Callaghan MD Caltech CRM
Leveraging The Microsoft Graph
Your Devices + OData + Azure = 
MIX 09 12/9/2018 6:08 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
SharePoint Guy, Protiviti
Building HTTP services for modern client apps
Pablo Castro Software Architect Microsoft Corporation
The Power of a Great API Damian Brady
The OpenRasta framework for building RESTful applications
OGC SensorThings API The new standard for collecting and managing sensor data W3C TPAC, Joint meeting WoT & Spatial Data on the Web IG 23. October, Lyon,
Microsoft Graph – Intune API’s
Web APIs In computer programming, an application programming interface (API) is a set of subroutine definitions, protocols, and tools for building application.
5/10/2019 4:48 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
MVC Controllers.
WCF Data Services and Silverlight
Intro to Azure Search Julie Smith 2019.
.NET Framework V3.5+ & RESTful web services
Chengyu Sun California State University, Los Angeles
Intro to Azure Search Julie Smith 2019.
Presentation transcript:

Build a RESTful service with OData Congyong Su Senior Software Engineering Manager Microsoft

Why RESTful service? API leverages the semantics of HTTP Verbs: Post, Get, Put/Patch, Delete Methods: Create, Read, Update, Delete Uri: Resource hierarchy Status: 200 OK, 404 Not Found Content: application/json API integration to web Foundation piece for dynamic web – for example, the MVVM pattern Reach Desktop, phone, device, etc.

Why OData service? Consistency Conventions Rich query REST is an architectural style Conventions API path inferred POST ~/Customers GET ~/Customers GET ~/Customers/{id} PATCH ~/Customers/{id} DELETE ~/Customers/{id} Rich query filter, select, expand, orderby, top, skip, count

How to build an OData service OData Web API If you are familiar to Model-View-Controller: MVC Start from small Low-level control RESTier If you used and miss WCF Data Services Focus on business logic

Standard Solution: OData v4 Web API Model builder ODataConventionModelBuilder Routing MapODataServiceRoute Controller ODataController Query EnableQueryAttribute

Demo: OData v4 Web API

Why RESTier? Web API is easy, but require a controller per entity set ODataLib is powerful, but with low-level APIs Zero controller is possible Focus on business logic

What is RESTier? A turnkey solution to build RESTful API services Builds upon OData v4 Web API and ODataLib

Demo: RESTier

Summary OData v4 Web API is easy to start with RESTier is another layer of abstraction on top of OData Web API

Questions?