Developing for Astoria: ADO.NET Data Services

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

    Favorites, Groups & Events

    Developing for Astoria: ADO.NET Data Services - Presentation Transcript

    1. Harish Ranganathan 22 / 04 / 09 Developing for Astoria ADO.NET Data Services
    2. Agenda
      • REST & Motivation to REST
      • ADO.NET Data Services
        • Surfacing Data
        • Query Operations
      • Programming Clients
    3. REST???
      • Representational State Transfer
      • Architectural Style
        • Introduced by Roy Fielding
        • A Key Principle
          • Each unique URL is a representation of some object
      • Wiki Definition: Any simple interface which transmits
        • Domain-specific data over HTTP
        • Without an additional messaging layer such as SOAP or session tracking via HTTP cookies
    4.  
    5. Transformation of Web
      • Traditional
        • A server-side component would render HTML (Presentation + Data)
      • New architectures
        • Presentation and data are no longer embedded in the same container
        • E.g. AJAX / Silverlight
      HTML + Javascript Data ( XML , etc) DLL + XAML Data ( XML , etc) AJAX Applications Silverlight Applications
    6. ADO.NET Data Services
      • A combination of patterns and libraries that enable the creation and consumption of RESTful data services for the web.
      • URIs to point to pieces of data
      • Simple, well-known formats to represent data, such as JSON and ATOMPub (default)
      Data HTTP ADO.NET Data Service ADO.NET Entity Framework Custom Provider Any data source (DB, Web service, feed, file, etc)
    7. Surfacing data using ADO.NET data service Requires .NET 3.5 SP1, VS.NET 2008 SP1
    8. Querying
      • Uri based Querying
        • Rich navigations to entities, attributes, associations
      • Query string options
        • $orderby, $top, $filter, $expand
    9. Querying ADO.NET data service Requires .NET 3.5 SP1, VS.NET 2008 SP1
    10. .NET Clients
      • Low barrier to entry – HTTP + XML / JSON
      • .NET proxy generation tool
        • Add Service Reference 
      • Clients supported
        • Traditional - Console, Winforms
        • Ajax clients
        • WPF, XBAP, Silverlight
    11. Referencing ADO.NET data service from .NET client Requires .NET 3.5 SP1, VS.NET 2008 SP1
    12. Service Operations
      • Canned functionality on the Service Side
      • Invoked via the familiar URI mechanism
        • Simple types for Parameters
      • Returning IEnumerable / IQueryable
        • Composability
    13. Summary
      • REST – Web Services should follow “the way of web”
      • ADO.NET Data Services provides a framework to create and consume REST-based data services
      • Provides a rich service tier for consumption by clients
    14. References
      • Astoria Live Labs
      • http://astoria.mslivelabs.com
      • Project Astoria Team Blog
      • http://blogs.msdn.com/astoriateam/
      • Entity Framework Team Blog
      • http://blogs.msdn.com/data
    15. Contact
      • Blog Address
      • http://geekswithblogs.net/ranganh
      • Email Address
      • [email_address]
    16.  

    + Harish RanganathanHarish Ranganathan, 7 months ago

    custom

    804 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 804
      • 804 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 37
    Most viewed embeds

    more

    All embeds

    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