How to Build a REST API Using ASP.NET Web API Fernando Cardenas 10/8/20131.

Slides:



Advertisements
Similar presentations
Dublin Core in Multiple Languages Thomas Baker Sixth Dublin Core Workshop Library of Congress, Washington DC Tuesday, 3 November 1998.
Advertisements

Presenter: Your Name Here 11/5/ Volunteer for Sierra Club Canada 2 Important Points: Its Easy Lots of Benefits Clear up some myths 5-10 minutes.
1 NETaction NETaction Customer Satisfaction Manager By Daniels Associates Inc.
12/20/20131 Steps To Success presents How to use Linkedin.
Feeding the Content Monster: How to Repurpose Your Association's Web Content for Use in Social Media Leslie OFlahavan, Association Media.
Pierre-Johan CHARTRE Java EE - JAX-RS - Pierre-Johan CHARTRE
Give it a REST already Arnon Rotem-Gal-Oz VP R&D xsights
Fundamental Digital Electronics Fundamental Digital Electronics.
Internet Basics and Information Literacy
Representational State Transfer (REST): Representing Information in Web 2.0 Applications this is the presentation Emilio F Zegarra CS 2650.
Service Oriented Architecture
REST Vs. SOAP.
Building and using REST information services Rion Dooley.
Introduction to Web Services
REST &.NET James Crisp.NET Practice Lead ThoughtWorks Australia.
Server Access The REST of the Story David Cleary
REST Applications in.NET Representational State Transfer Ben Dewey twentySix New York
WHO AM I? REST? Dissertation by Roy Fielding 2000 Architectural Styles and the Design of Network-based Software Architectures ReST = Representational.
learn. do. dream. Getting some REST with Representational State Transfer REST ReadViewEntries Domino Data Service XPages REST.
Inclusive Sailing & Training. Protecting your Rights, Promoting your Interests © RYA Sailability Encourage opportunity – realistic approach Look.
September 11 th 2013 Open Identity Summit 2013, Kloster Banz Marcel Selhorst Cloud-based provisioning of qualified certificates for the German ID card.
Regulation of Fluid and Electrolyte Balance Prof. K. Sivapalan.
Gas Exchange in Lungs Prof. K. Sivapalan. Properties of Gases 20132Gas Exchange.
Public Goods and Common Resources Economics for Business II Day 10 Spring 2013.
Hypertext Transfer PROTOCOL ----HTTP Sen Wang CSE5232 Network Programming.
access to everything over the web
Volleyball By Alina Agamy For Mark Hearn CBA Business Communications MWF 11:15 Fall 2013.
Building RESTful Interfaces
HTTP By: Becky Fultz, Joe Flager, Katie Huston, Tom Packard, Allison Wilsey.
Hypertext Transfer Protocol Kyle Roth Mark Hoover.
How the web works: HTTP and CGI explained
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
 What is it ? What is it ?  URI,URN,URL URI,URN,URL  HTTP – methods HTTP – methods  HTTP Request Packets HTTP Request Packets  HTTP Request Headers.
Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution.
MapGuide&FDO Web Services RESTful Web Services FOSS4G 2007Haris Kurtagic.
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control Maarten
Beyond the UI Using Tools to Improve Testing Jeremy Traylor
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Google Data APIs Google Data APIs : Integrando suas aplicações Java com os serviços Google.
Wyatt Pearsall November  HyperText Transfer Protocol.
Web HTTP Hypertext Transfer Protocol. Web Terminology ◘Message: The basic unit of HTTP communication, consisting of structured sequence of octets matching.
Python and REST Kevin Hibma. What is REST? Why REST? REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a.
Or, Hey can’t we just do it using HTTP for the envelope?
API Crash Course CWU Startup Club. OUTLINE What is an API? Why are API’s useful? What is HTTP? JSON? XML? What is a RESTful API? How do we consume an.
Appendix E: Overview of HTTP ©SoftMoore ConsultingSlide 1.
RESTful Web Services What is RESTful?
Web Technologies Lecture 10 Web services. From W3C – A software system designed to support interoperable machine-to-machine interaction over a network.
Feeling RESTful? Well, first we’ll define a Web Service –A web page meant to be consumed by a computer via an autonomous program as opposed to a web browser.
Why oBIX? XML standard Enterprise friendly protocol High fidelity.
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
National College of Science & Information Technology.
API (Application Program Interface)
RESTful Sevices Distributed Objects Presented by: Shivank Malik
API Security Auditing Be Aware,Be Safe
REST: Web Services Abel Sanchez.
An introduction to REST for SharePoint 2013
Hypertext Transfer Protocol
What is REST API ? A REST (Representational State Transfer) Server simply provides access to resources and the REST client accesses and presents the.
Introduction Web Environments
Beautiful REST + JSON APIs
Ashish Pandit IT Architect, Middleware & Integration Services
WEB API.
$, $$, $$$ API testing Edition
A gentle introduction to RESTful APIs
REST APIs Maxwell Furman Department of MIS Fox School of Business
Web API with Angular 2 Front End
Python and REST Kevin Hibma.
A gentle introduction to RESTful APIs
Chengyu Sun California State University, Los Angeles
Presentation transcript:

How to Build a REST API Using ASP.NET Web API Fernando Cardenas 10/8/20131

Goals Understand REST What Why Get comfortable with ASP.NET Web API 10/8/20132

Agenda Quick Demo REST and Why You Should Care Building an API with ASP.NET Web API 10/8/20133

Demo 10/8/20134

What is REST Stands For: REpresentational State Transfer Architectural Style based on HTTP 10/8/20135

What is HTTP? Well defined protocol (web browsers, web servers, etc.) Request and Response Stateless Request Contents URL HTTP Verb Header Message Body 10/8/20136

What is REST Architectural Style based on HTTP Resources (Things) Verbs (Actions) GET, POST, PUT, DELETE, etc. Response gives a representation of the resource (XML, JSON, image, etc.) More Info: 10/8/20137

Resources GET GET 10/8/20138

HTTP Verbs GET Gets 0 or more of a resource (thing) POST Creates a resource (hopefully) PUT Updates a resource (hopefully) DELETE Deletes a resource (hopefully) 10/8/20139

REST in Action Actions: GET POST PUT DELETE Resources: /8/201310

REST Responses Responses come back as an HTTP Status Code + message (maybe) HTTP Status Codes 1XX – Request Received and Im processing it 2XX – Request Received and processed it successfully! 3XX – Client must do something else to complete the request 4XX – Client made an error 5XX – Server error 10/8/201311

Popular Status Codes 200 – Success 201 – Created 301 – Moved Permanently (AKA redirect) 404 – Not Found 401 – Unauthorized 500 – Internal Server Error (AKA oh crap!) 10/8/201312

On to the codez… 10/8/201313

Why REST? Everyone/everything speaks HTTP Web applications are moving to JavaScript + AJAX Lightweight compared to SOAP Caching of resources (server decides) 10/8/201314

REST is NOT a standard 10/8/201315

Thank You! 10/8/201316