Rest

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Rest - Presentation Transcript

    1. I-DigitalTEK Agile Development IT Solutions for Growing Business REST SERVICE versus WEB SERVICE HTTP Uniform Interface I-DigitalTEK K I IdigitalTEK
    2. REST Representational State Transfer
      • Hyper media Software Network Architecture.
      • Protocol is: Client-server, Stateless, Cacheable, Layered
      • REST presents numerous benefits other WEB SERVICES:
        • Does not require a separate discovery mechanism.
        • Not as dependant on Vendor Software.
        • Simplified Client Side interface.
        • Improve scalability and lighter weight.
        • Statelessness Client - isolate client / server
      • Application that exposes a Web UI and links things together.
    3. REST Representational State Transfer
      • Not a Standard but an Architectural Style that use standards protocols:
        • HTTP
        • URL
        • Resource Representations: XML/HTML/GIF/JPEG/…
        • Mime Types: text/xml, text/html, image/gif, image/jpeg, application/json
    4. Principles REST Service Design
      • URL to each resource using nouns, not verbs (http://rest.parts.com/parts/90fh3 accessible via HTTP GET, POST, PUT and/or DELETE)
      • Enable GET clients to drill down to get more information by revealing data gradually.
      • Specify format response using DTS, W3C, RelaxNG or Schematron and provide specific schema for POST and PUT.
      • Document service invocation into HTML or WSDL document.
    5. REST in WCF?
      • Resource-oriented services that implement uniform interfaces using standard HTTP (GET, POST, PUT, and DELETE), and that can be query by a URI.
      • Microsoft improved “REST support within WCF was enhanced with the release of .NET Framework 3.5 SP1 to add make REST development easier and to support the ADO.NET Entity Framework entities in WCF contracts.”
        • New HTTP NET CLIENT Class.
        • Server Side Features.
        • HTTP Request Header "text/xml“ for XML “ and application/json“ for JSON
        • XHttpMethodOverride to post DELETE and PUT Http request
        • REST Service Cache Duration settings
        • Security enable with RequestInterceptor
        • WebException serialized as JSON or XML
        • HTTP Asynchronous Client programming model
        • XML/XSD Type
    6. Exposing XSD with REST?
        • XSD describes the structure of a XML document.
        • VS Command prompt XSD.exe generates code from a XML schema Definition.
          • c:dev est xsd parts.xsd
        • Create a WCF Service interface in Visual Studio [serviceContract] using [XMLSerializerFormat]
        • Create the class that implement the interface methods.
        • Web.config settings to support RESTfull representation webHttpBinding
    7. Reference Material
      • I-DigitalTek - Contact US
      • Wikipedia
      • Microsoft MSDN
      • Architectural Styles and the Design of Network-based Software Architectures, Roy Thomas Fielding 2000
    SlideShare Zeitgeist 2009

    + IDIGITALTEKIDIGITALTEK Nominate

    custom

    247 views, 1 favs, 1 embeds more stats

    Hyper media Software Network Architecture

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 247
      • 243 on SlideShare
      • 4 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 4 views on http://studio.i-digitaltek.net

    more

    All embeds
    • 4 views on http://studio.i-digitaltek.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories