Your SlideShare is downloading. ×
0
WCF Data Services
for OBA & Mobile Development



      UPI, March 13, 2010



              Andri Yadi | a@dycode.com
   ...
Cloud Computing
SOAP/WS-*?
SOAP arguably are:

•   Complex
•   Slow
•   Heavyweight
•   Tied to development tools and libraries
•   Not supported uni...
REST?
REpresentational State Transfer
!= Protocol
REST   != Standard
       != Format
REST == Architectural Style
           for connecting distributed applications
REST
•   Server-side resources identified by URI
•   Access resources over HTTP:
      POST    Create   INSERT
      GET  ...
URL
                                                        Resources
                 VERB
         (GET, POST, PUT, DELE...
OData
Open Data Protocol = REST + AtomPub +
                                      Modeling + URI Semantics

 An open web p...
Data Services Client




                    HTTP
                    (Open Data Protocol)




WCF Data Services

 Windows...
WCF Data Services
WCF Data   == Astoria
Services   == ADO.NET Data Services
WCF Data Services
A RESTFul implementation for data-centric
                services
HTTP
                         Open Data Protocol (OData)


               Hosting/HTTP Listener


               Data Serv...
HTTP
                        http://localhost:1234/MyData.svc/MyEntities(10)


             Hosting/HTTP Listener


      ...
Demo
Data Services Client




            HTTP
            (Open Data Protocol)




WCF Data Services
Resources
•   OData web site: http://odata.org
•   Astoria team blog: http://blogs.msdn.com/
    astoriateam
•   MSDN: htt...
Q&A
DyCode
www.dycode.com | office@dycode.com
Dynamic IT Solutions for Optimal Business Value
Upcoming SlideShare
Loading in...5
×

WCF Data Services - Office Business Application & iPhone

1,807

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,807
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
58
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "WCF Data Services - Office Business Application & iPhone"

  1. 1. WCF Data Services for OBA & Mobile Development UPI, March 13, 2010 Andri Yadi | a@dycode.com CEO, DyCode | Microsoft MVP http://geeks.netindonesia.net/blogs/andriyadi
  2. 2. Cloud Computing
  3. 3. SOAP/WS-*?
  4. 4. SOAP arguably are: • Complex • Slow • Heavyweight • Tied to development tools and libraries • Not supported universally • Cross-vendor/platform interoperability NOT perfect
  5. 5. REST? REpresentational State Transfer
  6. 6. != Protocol REST != Standard != Format
  7. 7. REST == Architectural Style for connecting distributed applications
  8. 8. REST • Server-side resources identified by URI • Access resources over HTTP: POST Create INSERT GET Retrieve SELECT PUT Update UPDATE DELETE Delete DELETE • Returned data is “plain”: Atom, plain-XML or JSON
  9. 9. URL Resources VERB (GET, POST, PUT, DELETE) Resource 1 Client Representation Resource 2 XML JSON Server Status Representation XML JSON
  10. 10. OData Open Data Protocol = REST + AtomPub + Modeling + URI Semantics An open web protocol for querying and updating data, applies web technologies such as HTTP, Atom Publishing Protocol (AtomPub) and JSON to provide access to information from varying sources
  11. 11. Data Services Client HTTP (Open Data Protocol) WCF Data Services Windows Azure SQL Server 2008 Table Storage Reporting Services
  12. 12. WCF Data Services
  13. 13. WCF Data == Astoria Services == ADO.NET Data Services
  14. 14. WCF Data Services A RESTFul implementation for data-centric services
  15. 15. HTTP Open Data Protocol (OData) Hosting/HTTP Listener Data Services Runtime Data Access Layer Entity Custom LINQ Framework Provider Relational Other Database Sources
  16. 16. HTTP http://localhost:1234/MyData.svc/MyEntities(10) Hosting/HTTP Listener Data Services Runtime var q = from e in MyEntities where id = 10 select e; Data Access Layer Entity Framework SELECT * FROM MyEntity WHERE id = 10 SQL Server
  17. 17. Demo
  18. 18. Data Services Client HTTP (Open Data Protocol) WCF Data Services
  19. 19. Resources • OData web site: http://odata.org • Astoria team blog: http://blogs.msdn.com/ astoriateam • MSDN: http://msdn.microsoft.com/data • Visualizer: In Visual Studio 2010 Tools > Extension Manager > Search > “open data protocol” • iPhone developer portal: http://developer.apple.com/iphone
  20. 20. Q&A
  21. 21. DyCode www.dycode.com | office@dycode.com Dynamic IT Solutions for Optimal Business Value
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×