Pete Brown Developer Community Program Manager, Microsoft REST with Silverlight 5, WCF.

Slides:



Advertisements
Similar presentations
REST Introduction 吴海生 博克软件(杭州)有限公司.
Advertisements

Introduction to Web Services
Azure REST Services Presented by Barkha Herman My-Guides.com.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
WCF RIA Services - Querying and Updating Data SILVERLIGHTSHOW.NET WEBINARS SERIES BRIAN NOYES, CHIEF ARCHITECT, IDESIGN INC 2 FEB 2011.
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
CS 415 N-Tier Application Development By Umair Ashraf July 6,2013 National University of Computer and Emerging Sciences Lecture # 9 Introduction to Web.
Web server and web browser It’s a take and give policy in between client and server through HTTP(Hyper Text Transport Protocol) Server takes a request.
INTRODUCTION TO WEB DATABASE PROGRAMMING
OAuth-as-a-service using ASP.NET Web API and Windows Azure Access Control Maarten
J2EE Web Fundamentals Lesson 1 Introduction and Overview
Pete Brown Developer Community Program Manager, Microsoft Getting Started with XAML Silverlight,
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
ASP. Net is a rich web framework that leverages well known patterns and JavaScript frameworks to build great web experiences quickly.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Web Architecture & Services (2) Representational State Transfer (REST)
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Postacademic Interuniversity Course in Information Technology – Module C1p1 Contents Data Communications Applications –File & print serving –Mail –Domain.
Wyatt Pearsall November  HyperText Transfer Protocol.
RESTful applications Norman White. REST Representational state transfer Key concepts – Client Server architecture built on transferring resources between.
Web Services XML-RPC, SOAP, REST Advanced Web-based Systems | Misbhauddin.
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.
Microsoft Visual Studio 2010 Muhammad Zubair MS (FAST-NU) Experience: 5+ Years Contact:- Cell#:
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.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Web Engineering we define Web Engineering as follows: 1) Web Engineering is the application of systematic and proven approaches (concepts, methods, techniques,
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
REST - Introduction Based on material from InfoQ.com (Stefan Tilkov) And slides from MindTouch.com (Steve Bjorg) 1.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
PV247 – Development I Introduction to ASP.NET and related technologies.
1 Seminar on Service Oriented Architecture Principles of REST.
HTML5 AND THE FUTURE JAVASCRIPT PLATFORM Marcelo Lopez Ruiz Senior Software Design Engineer Microsoft Corporation.
Representational State Transfer (REST). What is REST? Network Architectural style Overview: –Resources are defined and addressed –Transmits domain-specific.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
REST By: Vishwanath Vineet.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
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.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core * aka ASP.NET 5 before.
WebApi: What is it? How can I use it? Guy In Front of the Whittaker.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
The New Face of ASP.NET ASP.NET MVC, Razor, and jQuery Ido Flatow | Senior Architect | Sela | This session is.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
The best of WF 4.0 and AppFabric Damir Dobric MVP-Connected System Developer Microsoft Connected System Division Advisor Visual Studio Inner Circle member.
Representational State Transfer COMP6017 Topics on Web Services Dr Nicholas Gibbins –
ASP.NET Core* Shahed Chowdhuri Sr. Technical WakeUpAndCode.com A Quick Overview of ASP.NET Core RC2 * aka ASP.NET 5 before.
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
The Object-Oriented Thought Process Chapter 13
Web Engineering CS-4513 Prepared By: Junaid Hassan Lecturer at UOS M.B.Din Campus
MIX 09 6/5/2018 9:14 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
REST- Representational State Transfer Enn Õunapuu
Advanced Web-based Systems | Misbhauddin
Representational State Transfer
Ashish Pandit IT Architect, Middleware & Integration Services
WEB API.
A Quick Overview of ASP.NET Core 1.0
Lecture 1: Multi-tier Architecture Overview
$, $$, $$$ API testing Edition
Unlocking the secrets of REST with WCF
ASP.NET Core* MVC and Web API Shahed Chowdhuri
Pablo Castro Software Architect Microsoft Corporation
RESTful Web Services.
REST på Microsoft-stacken
Python and REST Kevin Hibma.
.NET Framework V3.5+ & RESTful web services
Chengyu Sun California State University, Los Angeles
Blazor A new framework for browser-based .NET apps Ryan Nowak
Presentation transcript:

Pete Brown Developer Community Program Manager, Microsoft REST with Silverlight 5, WCF ASP.NET Web API, and a little MVC 4 (AKA: Let’s see how many product names will fit in a session title) (or, the live version of part of chapters 21 and 22 of Silverlight 5 in Action)

Where to find help  Our Community Sites  silverlight.net silverlight.net  windowsclient.net windowsclient.net  asp.net asp.net  dev.windows.com dev.windows.com  MSDN: msdn.microsoft.commsdn.microsoft.com  My Blog: 10rem.net10rem.net  Will include any updated source/examples

REST in a Nutshell  REpresentational State Transfer  Relies on verbs  Primarily GET, PUT, POST, DELETE  The architecture of the web

The 6 REST Constraints Client-ServerA clear separation of concerns StatelessThe server should not store any client context information between requests. Each request is autonomous CacheableServer indicates which content is cacheable, just as we do with pages and images today LayeredClient is not concerned with whether or not it is connected to a specific server, a proxy, or something else Code on-demandServer can send logic to the client to execute. For example, Java applets or Silverlight apps Uniform interfaceURIs. Self-descriptive messages (media types, cacheability, etc.)

What RESTful Services get you  Instantly accessible to any client which can make web requests  No need for client proxies, stubs, envelopes and the other stuff we have to deal with  Especially important with the proliferation of connected microcontrollers  Cacheable using normal web-aware mechanisms  Scalable for the same reason  Flexible if you go with a full hypermedia approach

WCF ASP.NET Web API  An API that supports you in building RESTful APIs  Does not impose REST constraints  Does not get in your way  Architected to rely on and exploit HTTP fully, not just as a generic transport  Written by the WCF Team at Microsoft.  Now available as part of ASP.NET MVC 4

This Example Silverlight Client ASP.NET MVC ASP.NET Web API Data Serves Uses Primarily focus on the Silverlight client and Web API Server.

Project  Internal corporate application  Shared across many divisions  Control some, but not all, clients  Goals and constraints  Use RESTful approaches to make API available to as many clients as possible  No fat Soap envelope  No proprietary WCF formats  Make it really easy for Silverlight (or other owned clients) to use the resources  Don’t want to recreate entities  For V1, don’t worry about security (Boy, was that convenient!)

DEMO Stuff with semicolons and curly braces … and the occasional angle bracket

Summary  Web API for RESTful “services”  Web API Now part of ASP.NET MVC  Silverlight + MVC play together nicely  Create a Razor helper for hosting Silverlight  Linked files to share model definitions  Conditional compilation or partial classes for platform-specific features  My book has awesome demos

Where to find help  Our Community Sites  silverlight.net silverlight.net  windowsclient.net windowsclient.net  asp.net asp.net  dev.windows.com dev.windows.com  MSDN: msdn.microsoft.commsdn.microsoft.com  My Blog: 10rem.net10rem.net  Will include any updated source/examples  Twitter:  Mail