WHO AM I? REST? Dissertation by Roy Fielding 2000 Architectural Styles and the Design of Network-based Software Architectures ReST = Representational.

Slides:



Advertisements
Similar presentations
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Advertisements

HTTP and Apache Roy T. Fielding eBuilt, Inc. The Apache Software Foundation
System Wide Information Management (SWIM)
Representational State Transfer (REST) Paul Townend 8 th February 2007.
REST - Representational State Transfer
Service Oriented Architecture
REST Vs. SOAP.
REST Introduction 吴海生 博克软件(杭州)有限公司.
Introduction to Web Services
Server Access The REST of the Story David Cleary
REST (Representational State Transfer)
REST Applications in.NET Representational State Transfer Ben Dewey twentySix New York
How to Build a REST API Using ASP.NET Web API Fernando Cardenas 10/8/20131.
GET. Introduction, overview Best practices Roy T Fielding, PhD dissertation, 2000 Main characteristics Client-server Stateless Caching Layered architecture.
RESTful Web Services Senthil Chinnaiyan, Senior Architect
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.
GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION 4.5 Ed Jones & Grey Guindon.
General introduction to Web services and an implementation example
Building RESTful Interfaces
Developer Day Die Welt nach WCF Hannes Preishuber CEO ppedv Facebook/preishuber.
SOAP Quang Vinh Pham Simon De Baets Université Libre de Bruxelles1.
Thoughts on Architecture for the Internet of Things Group Name: Working Group 2 - Architecture Source: Nicolas Damour, Sierra Wireless
Why RESTafarians live shorter Lyntale Javazone 8. september 2010 André Wiik Seniorkonsulent Webstep AS.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
User Group 2015 Version 5 Features & Infrastructure Enhancements.
Building Data Driven Applications Using WinRT and XAML Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant Level: Intermediate.
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:
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Building HTTP Services with ASP.NET Web API Sayed Ibrahim Hashimi Program Manager Microsoft Corporation DEV309.
Prepared By : Monika Darji Web Services using REST & JAX-WS.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
Open Data Protocol * Han Wang 11/30/2012 *
Pete Brown Developer Community Program Manager, Microsoft REST with Silverlight 5, WCF.
1 Seminar on Service Oriented Architecture Principles of REST.
Building a Web API for browser/JSON clients.
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
REST and WCF 3.5 Glen Gordon Developer Evangelist, Microsoft
RESTful Web Services What is RESTful?
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Keith Telle Lead Software Engineer Bit Wizards REST, WebAPI 2, and Best Practices.
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
Creating REST Services with WCF and EF. About Me: Architect with CEI > concentration is ALM practice. 10 years experience developing with Microsoft Tools.
Representational State Transfer COMP6017 Topics on Web Services Dr Nicholas Gibbins –
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
Thoughts on Architecture for the Internet of Things
OpenInsight as a REST API Engine
WEB SERVICES.
REST: Web Services Abel Sanchez.
REST- Representational State Transfer Enn Õunapuu
Unit – 5 JAVA Web Services
An introduction to REST for SharePoint 2013
Advanced Web-based Systems | Misbhauddin
Representational State Transfer
WEB API.
Build a RESTful service with OData
$, $$, $$$ API testing Edition
Building HTTP Services with ASP.NET Web API
Building HTTP services for modern client apps
Pablo Castro Software Architect Microsoft Corporation
Web services introduction, application and its future
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
The Power of a Great API Damian Brady
REST på Microsoft-stacken
Week 05 Node.js Week 05
A gentle introduction to RESTful APIs
WCF Data Services and Silverlight
.NET Framework V3.5+ & RESTful web services
REST API Design Borrowed heavily from:
Presentation transcript:

WHO AM I?

REST? Dissertation by Roy Fielding 2000 Architectural Styles and the Design of Network-based Software Architectures ReST = Representational State Transfer

Architectural constraints Client–server Stateless Cacheable Layered system Uniform Interface

Scalability GET

Guiding principles of REST- interfaces Identification of resources Manipulation of resources through representations of these resources Self-descriptive messages Hypermedia as the engine of application state

HATEOAS Hypermedia as the engine of application state

Example of hypermedia representation (Netflix)

Richardsons maturity model Level 0: The swamp of POX Level 1: Resources Level 2: HTPP Verbs Level 3: Hypermedia Controls Glory of REST

REST on Microsoft – some history WCF pre-3.5: painful… WCF 3.5: WebHttpBinding. WCF REST Starter Kit (no longer supported) WCF Data Services (OData) WCF Web API - Preview 1 - 6

WCF ASP.NET Web API

Goal: One HTTP/ REST / Hypermedia API Fx Integrated in ASP.NET: Best of both world

WCF to ASP.NET Web API WCF Web APIASP.NET Web API Service=>Web API controller Operation=>Action Service contract =>n/a Endpoint=>n/a URI templates=>ASP.NET Routing Message handlers=>Same Formatters=>Same Operation handlers=>Filters, model binders

DEMO – FILE NEW

Media types & Media Formatters

Built in support for: – XML – JSON – form-urlencoded data Can be extended with custom Media Formatters

DEMO – MEDIA TYPE FORMATTER

Parameter Binding 1.From querystring: using Model binding 2.From body: using Formatters

Web API on NuGet Web API hosted in ASP.NET: – AspNetWebApi Self-hosted Web API: – AspNetWebApi.Selfhost HttpClient including XML and JSON formatters: – System.Net.Http.Formatting JsonValue for navigating and manipulating JSON: – System.Json Newtonsoft.Json

Node-style Web API? writing-a-lightweight-web-service-using-webapi-building-blocks.aspx

DEMO – SELF HOSTING

Web API can be used for all levels Level 0: The swamp of POX Level 1: Resources Level 2: HTPP Verbs Level 3: Hypermedia Controls Glory of REST ASP.NET Web API

OAuth/Claims based security

Open Source:

Some good reading

Thank you! Robert Folkesson | Active Solution