Unlocking the secrets of REST with WCF

Slides:



Advertisements
Similar presentations
GET. Introduction, overview Best practices Roy T Fielding, PhD dissertation, 2000 Main characteristics Client-server Stateless Caching Layered architecture.
Advertisements

Azure REST Services Presented by Barkha Herman My-Guides.com.
Thoughts on Architecture for the Internet of Things Group Name: Working Group 2 - Architecture Source: Nicolas Damour, Sierra Wireless
Tips, Tricks, and Techniques for Building Killer Silverlight Apps Jeff Prosise
Build-Deploy-Test with Visual Studio Lab Management 2010 Pieter Gheysens Visual Studio ALM MVP – Sparkles User Group Lead VISUG (
Secrets of Making LinkedIn Productive & Profitable Kate Buck Jr KBJOnline, Social Media Management Slides: KBJOnline.com/WonderWomen.
Rewrite Twitter in an hour Steve Degosserie & Georges Legros.
HTML5 That’s what you need to know today Ingo Rammer, thinktecture
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
& Silverlight, Windows Phone 7, Windows Azure, jQuery, OData and RIA Services. Shaken, not stirred. Kevin
Switching on the cloud for Silverlight MSDN Live Meeting Gill Cleeren Microsoft Regional Director – Silverlight MVP Ordina Belgium.
Parallel Programming in.NET 4.0 Tasks and Threading Ingo Rammer, thinktecture
Why Use Social Media for Rotary? Peter Borner The Rotary Club of Towcester.
Walter McKenzie Director, Constituent Services Connecting Online to Engage Offline: Social Networking to Find Your Audience #L2L10.
Total Workstation Lockdown: Your Action Plan Jeremy Moskowitz, Group Policy MVP Chief Propeller-Head: GPanswers.com Founder: PolicyPak Software (policypak.com)
NuGet in Depth Making Open Source Suck Less at Microsoft Scott Hanselman
Parallel Programming in.NET 4.0 Tasks and Threading Ingo Rammer, thinktecture
Pete Brown Developer Community Program Manager, Microsoft REST with Silverlight 5, WCF.
Migration and Deployment of Office 2010 Steffen Krause Senior Technical Evangelist Microsoft Deutschland GmbH
Windows Azure for IT Pros Kurt CLAEYS (TSP Windows Azure, Microsoft EMEA)
State of Michigan Learning Management System (LMS) for Training Coordinators Updated: 10/29/2015.
YANKEE CANDLE FUNDRAISING MOBILE APP ICON CONFIDENTIAL - INTERNAL USE ONLY PROPRIETARY INFORMATION.
Forthcoming SQL Azure Services: SQL Azure Data Sync & SQL Azure Reporting Mark Scurrell Lead Program Manager Microsoft.
Switch on the LightSwitch Gill Cleeren Microsoft Regional Director / Silverlight MVP Ordina Belgium
Developing SaaS Applications with the Windows Azure Platform Vittorio Bertocci
Service Manager 2010 Real Life Example: The coffee workflow Mike Resseler & Alexandre Verkinderen Infront Consulting Group.
Building Robust, Maintainable Coded UI Tests with Visual Studio 2010 Brian Keller Sr. Technical Evangelist – Visual Studio ALM
Troubleshooting Group Policy Jeremy Moskowitz, Group Policy MVP Chief Propeller-Head: GPanswers.com Founder: PolicyPak Software (policypak.com) Twitter:
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
To OData or Not to OData Chris Eargle kodefuguru.com.
What’s new in Azure SDK 1.3 (and 1.4) Peter Himschoot Microsoft Regional Director Belux U2U Trainer/Architect
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
REST in Practice COMP6017 Topics on Web Services Dr Nicholas Gibbins –
ArcGIS for Server Security: Advanced
Amp Up Your Online Presence
Thoughts on Architecture for the Internet of Things
REST- Representational State Transfer Enn Õunapuu
Dive into Application Lifecycle Management with Visual Studio 2010
Node.js Express Web Services
9/4/2018 5:28 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Table of Contents Tips for Success Send s
Automating AD Administration with Windows PowerShell
Representational State Transfer
Rock Hard: C++ Evolving
Ashish Pandit IT Architect, Middleware & Integration Services
Implementing RESTful Services Using the Microsoft .NET Framework
WEB API.
Glenn Block MEF in the real world Glenn Block
Driving Experiences via Services Using the Microsoft .NET Framework
Welcome! Please introduce yourself via the chat
Enterprise Agility: Introducing Agile into the Enterprise
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
11/23/2018 8:30 AM BRK3037 BRK3037: Dive deep on building apps and services with the Office 365 Communications Platform David Newman Senior Program Manager.
American Joint Replacement Registry 2018 Annual Report Figures
SharePoint & jQuery: Better Together
Club Leadership Meeting 2/21/18
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.
Welcome! Microsoft Dynamics gp user Group (Gpug)
A walkthrough Corey Hynes | HynesITe, Inc
WCF Web API, HTTP your way
with Pearson’s MyITLab for Office 2013
Chris Eargle kodefuguru.com
The OpenRasta framework for building RESTful applications
Maxim Lukiyanov Program Manager Microsoft Corporation
REST på Microsoft-stacken
Accessing Web Services in Silverlight 4
Take notes on your own paper
Opalis System Center Integration Packs Deep Dive
.NET Framework V3.5+ & RESTful web services
Presentation transcript:

Unlocking the secrets of REST with WCF Glenn Block Blogs/msdn.com/gblock @gblock

REST, Definition vs Practice REST by definition is clear In practice REST is a highly overloaded term REST in practice means over HTTP

Richardson’s HTTP Maturity model Hypermedia HTTP URI

Level 0 – Single URI / Single Verb SOAP Envelope (POST) Create Update \OrderService.svc Order System Submit Delete Cancel Approve Find

Level 1 – Multi URI / Single Verb XML/JSON – GET Create Orders/Create Update Orders/Update Order System Submit Orders/Submit Delete Orders/Delete Cancel Orders/Cancel Approve Orders/Approve Find Orders/Find

Level 2 – Multi URI / Multi Verb XML/JSON/ATOM PUT Orders/ POST Orders/1234 POST Order System Orders/Submitted DELETE Orders/1234 POST Orders/Cancelled POST Orders/Approved GET Orders/1234

Level 2 – Hypermedia aware Custom media types GET Orders/ <link rel=“Update” …/> Orders/1234 <link rel=“Submit” …/> Order System Orders/Submitted <link rel=“Delete” …/> Orders/1234 <link rel=“Cancel” …/> Orders/Cancelled <link rel=“Approve” …/> Orders/Approved <link rel=“View” …/> Orders/1234

Hypermedia what? HTTP/1.1 200 OK Content-Length: 421 Content-Type: application/vnd.ConstosoOrders+xml Date: Sun, 3 May 2009 18:22:11 GMT <order xmlns="http://contoso.com" xlmns:atom="http://www.w3.org/2005/Atom"> <OrderID>1234</OrderID> <-- Order details --/> <link rel=“Submit” href=“http://contoso.com/Orders/1234/Submitted”/> <link rel=“Delete” href=“http://contoso.com/Orders/1234”/> <link rel=“Cancel” href=“http://contoso.com/Orders/1234/Cancelled”/> <link rel=“Approve” href=“http://contoso.com/Orders/1234/Approved”/> <link rel=“View” href=“http://contoso.com/Orders/1234”/> </order>

Browser Devices WCF Silverlight Desktop Reach any client WCF already supports exposing services over HTTP. We have heard for you that is a good start but you want us to go further Desktop

Code is easier to maintain Service Separation of concerns Testability "Raw" HTTP HTTP Concerns Simplified Configuration

Separating out HTTP and other concerns Application concerns / CLR Objects Handler HTTP Message Operation Low Level HTTP specific concerns / HTTP Only Http Channel HTTP Message

Stay up to date with MSDN Belux Register for our newsletters and stay up to date: http://www.msdn-newsletters.be Technical updates Event announcements and registration Top downloads Follow our blog http://blogs.msdn.com/belux Join us on Facebook http://www.facebook.com/msdnbe http://www.facebook.com/msdnbelux LinkedIn: http://linkd.in/msdnbelux/ Twitter: @msdnbelux Download MSDN/TechNet Desktop Gadget http://bit.ly/msdntngadget Please keep this slide

TechDays 2011 On-Demand Watch this session on-demand via Channel9 http://channel9.msdn.com/belux Download to your favorite MP3 or video player Get access to slides and recommended resources by the speakers

THANK YOU