Time for a REST - .NET Framework v3.5 & RESTful Web 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

    Time for a REST - .NET Framework v3.5 & RESTful Web Services - Presentation Transcript

    1. .NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd [email_address] http://www.mtaulty.com
    2. Agenda
      • Windows Communication Foundation V3.5
        • Released
        • Visual Studio 2008/.NET Framework V3.5
      • ADO.NET Data Services
        • Preview – framework and tooling
        • Latest is the December CTP, ships H1 2008
        • Has strong links to ADO.NET Entity Framework
          • Both are part of ASP.NET 3.5 Extensions Preview
      • RESTful?
    3. RESTful? Resources Res 1 Res 2 Res 3 Res 4 HTTP Request URL VERB Payload HTTP Response Status GET POST PUT DELETE XML JSON Payload XML JSON
    4. RESTful?
      • RE presentational S tate T ransfer
      • In a nutshell;
        • Server-side resources identified by a URI
        • Access is over HTTP, verb tied to action
          • GET to read the value of a resource
          • POST to create a new resource*
          • PUT to update an existing resource*
          • DELETE to delete a resource
        • Returned data is “plain” – XML or JSON
    5. RESTful?
      • WCF V3.5
    6. WCF V3.5 and REST
      • New capabilities around RESTful services
        • webHttpBinding
          • HTTP(S) protocol (not new in itself)
          • URI based dispatch and parameter passing
          • “ Plain” XML/JSON serialisation
      • New RSS/Atom publication capabilities
    7. WCF V3.5 REST and Syndication
      • ADO.NET Data Services
    8. Data Services
      • Built on top of WCF V3.5
      • CRUD access to data over a RESTful interface
        • Returns XML (ATOM format) or JSON
      • Built-in URI-based query syntax
        • selection, filtering, paging, sorting
      • Client-side libraries for .NET and AJAX clients
        • Desktop .NET and Silverlight .NET
    9. data? what kind of data?
      • Provide a type with public properties which are;
        • IQueryable<T>, IEnumerable<T>
      • Also get write access if your type implements;
        • IUpdatable
      • Works well with generated code from;
        • ADO.NET Entity Framework ( ObjectContext )
        • LINQ to SQL ( DataContext* )
    10. entity framework? who he?
      • Extension to the provider model
      • Conceptual model
        • Inheritance
        • Relationships
        • Composite Entities
      • Abstractions
        • Schema of the store
        • SQL dialact of the store
      “ V3.0” Store .NET Provider V2.0 Conceptual Model .NET Provider (EntitySQL) ORM & LINQ Mapping
    11. ADO.NET Data Services
    12. More Data Services Capabilities
      • Service Operations
        • Expose more advanced functionality
      • Query Interceptors
        • Hook into requests for resources and run custom logic
      • Update Interceptors
        • Hook into modifications for resources and run custom logic
    13. ADO.NET Data Services II
    14. Resources
      • http://www.asp.net
      • (looking for “3.5 Extensions preview”)
      • http://msdn.co.uk
      • (looking for WCF V3.5 screencasts)
    15. MSDN in the UK
      • Visit http://msdn.co.uk
        • Newsletter
        • Events
        • Screencasts
        • Blogs
    16.  

    + ukdpeukdpe, 11 months ago

    custom

    1816 views, 0 favs, 0 embeds more stats


    Building Services: .NET FX 3.5, SOAP, REST, more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1816
      • 1816 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 25
    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?