WCF<br />ADO.NET Data Services & Office 2010 Development<br />Visual Studio 2010 Community Launch, May 18, 2010<br />Andri...
http://itunes.com/apps/movreak<br />
JSON<br />WCF Data Services<br />HTTP/REST<br />Entity Framework<br />Real-world Scenario<br />SQL Server 2008<br />
Sir Timothy John "Tim" Berners-Lee<br />The inventor of WWW<br />
Web Service or Web API<br />Big Web Services (SOAP)<br />RESTfulWeb Services<br />
SOAP/WS-*?<br />
SOAP arguably are:<br />Complex<br />Slow<br />Heavyweight<br />Tied to development tools and libraries<br />Not supported...
Roy T. Fielding<br />Introduced REST in 2000<br />
REpresentational State Transfer<br />REST?<br />Read http://tomayko.com/writings/rest-to-my-wife, it’s funny<br />
REST<br />!= Protocol<br />!= Standard<br />!= Format<br />Read http://tomayko.com/writings/rest-to-my-wife, it’s funny<br />
REST == Architectural Stylefor connecting distributed applications<br />
REST<br />Server-side resources identified by URI<br />Access resources over HTTP:<br />Returned data is “plain”: Atom, pl...
XML<br />XML<br />JSON<br />JSON<br />Client<br />Server<br />URL<br />Resources<br />VERB <br />(GET, POST, PUT, DELETE)<...
ODataOpen Data Protocol =  REST + AtomPub +   Modeling + URI SemanticsAn open web protocol for querying and updating data,...
Data Services Client<br />HTTP<br />(Open Data Protocol)<br />WCF Data Services<br />SQL Server 2008 Reporting Services<br...
OData SDK – Client Library(March 2010)<br />OData JavaScript Library<br />OData SDK for PHP<br />Restlet ext. for Java<br ...
OData Consumers<br />Modern web browsers<br />OData explorer<br />Excel 2010 – PowerPivot<br />LINQPad<br />Sesame<br />
WCF Data Services<br />
WCF Data Services<br />== Astoria<br />== ADO.NET Data Services<br />
WCF Data Services<br />A RESTFul implementation for data-centric services<br />
HTTP<br />Open Data Protocol (OData)<br />Hosting/HTTP Listener<br />Data Services Runtime<br />Data Access Layer<br />Ent...
HTTP<br />http://localhost:1234/MyData.svc/MyEntities(10)<br />Hosting/HTTP Listener<br />Data Services Runtime<br />var q...
Demo<br />Create a WCF Data Service<br />
Data Services Client<br />HTTP<br />(Open Data Protocol)<br />WCF Data Services<br />
Demo<br />Access WCF Data Services from Microsoft Outlook<br />
Resources<br />OData web site: http://odata.org<br />WCF Data Services team blog: http://blogs.msdn.com/astoriateam<br />M...
Q&A<br />
A WCF Service<br />Proxy<br />Data Binding<br />Entity Framework<br />ObjectContext available<br />ObjectContext not avail...
Upcoming SlideShare
Loading in …5
×

WCF Data Services - Bandung Charity Event - 2010

2,539 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,539
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
79
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • A graduate of Oxford University, Tim Berners-Lee invented the World Wide Web, an internet-based hypermedia initiative for global information sharing while at CERN, the European Particle Physics Laboratory, in 1989. He wrote the first web client and server in 1990. His specifications of URIs, HTTP and HTML were refined as Web technology spread.He is the Director of the World Wide Web Consortium (W3C), a Web standards organization founded in 1994 which develops interoperable technologies (specifications, guidelines, software, and tools) to lead the Web to its full potential. He is a founding Director of the Web Science Trust (WST) launched in 2009 to promote research and education in Web Science, the multidisciplinary study of humanity connected by technology. Tim Berners-Lee was born in London, England, on 8 June 1955, the son of Conway Berners-Lee and Mary Lee Woods.[8] He attended Sheen Mount primary school, and then went on to Emanuel School in London, from 1969 to 1973. He studied at The Queen&apos;s College, Oxford, from 1973 to 1976, where he received a first-class degree in Physics.The World Wide Web, abbreviated as WWW and commonly known as the Web, is a system of interlinked hypertext documents accessed via the Internet. With a web browser, one can view web pages that may contain text, images, videos, and other multimedia and navigate between them by using hyperlinks. Using concepts from earlier hypertext systems, Sir Tim Berners Lee, wrote a proposal in March 1989 for what would eventually become the World Wide Web.[1] He was later joined by Belgian computer scientist Robert Cailliau. In 1990, they proposed using &quot;HyperText [...] to link and access information of various kinds as a web of nodes in which the user can browse at will&quot;,[2] and released that web in December.Tim Berners-Lee and Robert Cailliau, published a more formal proposal (on November 12, 1990) to build a &quot;Hypertext project&quot; called &quot;WorldWideWeb&quot; (one word, also &quot;W3&quot;) as a &quot;web&quot; of &quot;hypertext documents&quot; to be viewed by &quot;browsers&quot;, using a client–server architecture.
  • Web services are typically application programming interfaces (API) or web APIs that are accessed via Hypertext Transfer Protocol
  • BrowsersMost modern browsers allow you to browse Atom based feeds. Simply point your browser at one of the OData producers.OData ExplorerA Silverlight application that can browse OData Services. It is available as part of the OData SDK Code Samples, and is available online at Silverlight.net/ODataExplorer.Excel 2010PowerPivot for Excel 2010 is a plugin to Excel 2010 that has OData support built-in.LINQPadLINQPad is a tool for building OData queries interactively.SesameA preview version of FabriceMarguerie&apos;sOData Browser.Client LibrariesClient libraries are programming libraries that make it easy to consume OData services. We already have libraries that target:JavascriptPHPJavaWindows Phone 7 SeriesiPhone (Objective C).NET
  • WCF Data Services - Bandung Charity Event - 2010

    1. 1. WCF<br />ADO.NET Data Services & Office 2010 Development<br />Visual Studio 2010 Community Launch, May 18, 2010<br />AndriYadi| a@dycode.com<br />CEO, DyCode | MVP, VSTO<br />http://geeks.netindonesia.net/blogs/andriyadi<br />
    2. 2. http://itunes.com/apps/movreak<br />
    3. 3. JSON<br />WCF Data Services<br />HTTP/REST<br />Entity Framework<br />Real-world Scenario<br />SQL Server 2008<br />
    4. 4. Sir Timothy John "Tim" Berners-Lee<br />The inventor of WWW<br />
    5. 5. Web Service or Web API<br />Big Web Services (SOAP)<br />RESTfulWeb Services<br />
    6. 6. SOAP/WS-*?<br />
    7. 7. SOAP arguably are:<br />Complex<br />Slow<br />Heavyweight<br />Tied to development tools and libraries<br />Not supported universally<br />Cross-vendor/platform interoperability NOT perfect<br />
    8. 8. Roy T. Fielding<br />Introduced REST in 2000<br />
    9. 9. REpresentational State Transfer<br />REST?<br />Read http://tomayko.com/writings/rest-to-my-wife, it’s funny<br />
    10. 10. REST<br />!= Protocol<br />!= Standard<br />!= Format<br />Read http://tomayko.com/writings/rest-to-my-wife, it’s funny<br />
    11. 11. REST == Architectural Stylefor connecting distributed applications<br />
    12. 12. REST<br />Server-side resources identified by URI<br />Access resources over HTTP:<br />Returned data is “plain”: Atom, plain-XML or JSON<br />
    13. 13. XML<br />XML<br />JSON<br />JSON<br />Client<br />Server<br />URL<br />Resources<br />VERB <br />(GET, POST, PUT, DELETE)<br />Resource 1<br />Representation<br />Resource 2<br />Status<br />Representation<br />
    14. 14. ODataOpen Data Protocol = REST + AtomPub + Modeling + URI SemanticsAn 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<br />
    15. 15. Data Services Client<br />HTTP<br />(Open Data Protocol)<br />WCF Data Services<br />SQL Server 2008 Reporting Services<br />Windows Azure <br />Table Storage<br />
    16. 16. OData SDK – Client Library(March 2010)<br />OData JavaScript Library<br />OData SDK for PHP<br />Restlet ext. for Java<br />OData client lib for WP7<br />OData SDK for ObjC<br />Data Services update for .NET 3.5 SP1<br />.NET 4.0<br />Silverlight 4.0<br />
    17. 17. OData Consumers<br />Modern web browsers<br />OData explorer<br />Excel 2010 – PowerPivot<br />LINQPad<br />Sesame<br />
    18. 18. WCF Data Services<br />
    19. 19. WCF Data Services<br />== Astoria<br />== ADO.NET Data Services<br />
    20. 20. WCF Data Services<br />A RESTFul implementation for data-centric services<br />
    21. 21. HTTP<br />Open Data Protocol (OData)<br />Hosting/HTTP Listener<br />Data Services Runtime<br />Data Access Layer<br />Entity<br />Framework<br />Custom LINQ Provider<br />Relational Database<br />Other Sources<br />
    22. 22. HTTP<br />http://localhost:1234/MyData.svc/MyEntities(10)<br />Hosting/HTTP Listener<br />Data Services Runtime<br />var q = from e in MyEntities where id = 10 select e;<br />Data Access Layer<br />Entity<br />Framework<br />SELECT * FROM MyEntity WHERE id = 10<br />SQL Server<br />
    23. 23. Demo<br />Create a WCF Data Service<br />
    24. 24. Data Services Client<br />HTTP<br />(Open Data Protocol)<br />WCF Data Services<br />
    25. 25. Demo<br />Access WCF Data Services from Microsoft Outlook<br />
    26. 26. Resources<br />OData web site: http://odata.org<br />WCF Data Services team blog: http://blogs.msdn.com/astoriateam<br />MSDN: http://msdn.microsoft.com/data<br />Visualizer: In Visual Studio 2010 Tools > Extension Manager > Search > “open data protocol”<br />iPhone developer portal: http://developer.apple.com/iphone<br />
    27. 27. Q&A<br />
    28. 28. A WCF Service<br />Proxy<br />Data Binding<br />Entity Framework<br />ObjectContext available<br />ObjectContext not available<br />Distributed system – WCF service<br />SQL Server 2008<br />
    29. 29. JSON/<br />XML<br />HTTP/REST<br />WCF Data Service<br />DataServiceContext<br />Data Binding<br />HTTP/REST<br />Entity Framework<br />ObjectContext available<br />ObjectContext not available<br />Distributed system – WCF Data service<br />SQL Server 2008<br />
    30. 30. DyCode<br />www.dycode.com | office@dycode.com<br />Dynamic IT Solutions for Optimal Business Value<br />

    ×