OData   feed for that - stldodn
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

OData feed for that - stldodn

  • 1,630 views
Uploaded on

Presentation delivered at the 2010 Day of .NET, August 20 & 21 at the Ameristar in St. Charles, MO

Presentation delivered at the 2010 Day of .NET, August 20 & 21 at the Ameristar in St. Charles, MO

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,630
On Slideshare
1,630
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
16
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Odata - “Make An AppA Feed For That”
    Chris Deweese, Consultant, Daugherty Business Solutions
  • 2.
  • 3. Warning
    Should I answer my phone and suddenly run out, rest assured knowing it’s because my wife is most likely going into labor with our 3rd child.
    Its definitely not because I’m totally unprepared for this and have no idea what I’m talking about.
    Definitely not that.
  • 4. This session
    • A Problem
    • 5. What is OData?
    • 6. Nuts & Bolts
    • 7. Make a feed for that (.NET 4/VS 2010 - *bling*)
  • A Problem
    • Middle-Tier Data Access
    DatabaseServers
    Front-End
    Servers
    Middle-TierServers
  • 8. What is it?
    • Open Data Protocol
    • 9. A protocol for working with data via HTTP
    • 10. Developed as protocol for “Astoria”/ADO.Net Data Services
    • 11. V2 implemented in WCF Data Services
  • Intrigued. Continue.
    • Represent structured data in a rich way
    • 12. Supports multiple formats – Xml, Json
    • 13. Xml is based on Atom Pub
    • 14. Currently released under Microsoft’s Open Specification Promise
  • What you get
    • OData services provide a Service Document that is all about Metadata
    • 15. Rich metadata allows consumers to understand data shape & types
    • 16. OData is modular; only implement the pieces you need
  • More Xml?
    • More than just spewing Xml
    • 17. OData is about making data accessible and queryable using standard Http verbs & actions
    • 18. Don’t forget! OData supports JSON too (if you hate Xml that much)
  • Query over Http?
    • OData provides query operators to sort & filter data via URIs
    • 19. $filter
    • 20. $orderby
    • 21. $skip, $top
    • 22. … and there’s more
    • 23. Producers implement query operators around their data
  • Query? Over Http?
    • Ever tried to build a “queryable” web service with SOAP?
    • 24. Bottom line: Ugly.
    • 25. OData: Not-so-uglyhttp://myblog.com/blog.svc/Posts?$filter=TagName%20eq$20‘WCF’
  • Why Http?
    • OData takes what works for the web
    • 26. Using Http as it was meant to be used
    • 27. Follows REST style philosophy – uses URIs as resources
    • 28. [OData team does not claim to be ‘restful’]
    • 29. Makes Data accessible to apps via the most successful protocol in use – Http.
    • 30. Not another “SOAP”
    • 31. ATOM, JSON - Easy integration with Modern Languages & Frameworks
  • Terminology
    • Entity – Representation of data – Blog Post, Product, Movie, etc.
    • 32. Feed – A collection of entities exposed through a service.
    • 33. Producer – Services that exposes data using OData feeds – Netflix, MIX10, NerdDinner
    • 34. Consumer – An application or framework that can consume OData feeds – Silverlight 4, PowerPivot, PHP*, Objective-C* [*=using OData SDK]
  • OData “Ecosystem”
    Slide Credit: Session FT13 from MIX10
  • 35. OData in the Wild
    Servers
    • WCF Data Services
    • 36. SharePoint 2010
    • 37. SQL Server Reporting Services 2008 R2
    • 38. SQL Azure
    • 39. IBM WebSphereeXtremeScale
    • 40. Microsoft Media Room
    • 41. WCF RIA Services
    Services
    • Netflix
    • 42. Mix 2010
    • 43. Nerd Dinner
    • 44. Vancouver’s vanGuide
    • 45. Open Government Data Initiative
    • 46. Open Science Data Initiative
    • 47. Microsoft Codename “Dallas”
    • 48. City of Edmonton
    Clients
    Client libraries
    Slide Credit: Session FT13 from MIX10
  • 57. Let’s Take a Peek
    • NUTS! (and bolts too)
    Photo Credit:SashaW via Flickr
  • 58. Feed for What?
    • Scott Hanselman’sStackOverflow Challenge
    • 59. Using a recent dump of the SO Database, let’s build a feed for that
    Read Scott’s post here: http://bit.ly/bq5WA9
  • 60. Stuff We Didn’t Cover
    • Creating/Deleting Entities
    • 61. Security (ASP.NET/Windows/NTLM)
    • 62. Other Languages, JavaScript, PHP, Etc.
    • 63. Media Streaming/Content Delivery support (WCF Data Services/IDataServiceStreamProvider)
    • 64. Lots of other things..
  • Take-a-ways
    • OData is a protocol for enabling data-driven, web-based services
    • 65. In .NET OData is implemented by WCF Data Services using EF
    • 66. Developers can take control of Entity Access & Performance tuning of WCF Data Service (caching, paging)
    • 67. OData uses existing authentication & authorization schemes
    • 68. OData feeds can replace existing web APIs with a data-centric model
  • Discussion
  • 69. Thanks!
    • OData resources:
    • 70. http://odata.org/
    • 71. http://odataprimer.com
    • 72. http://blogs.msdn.com/astoriateam
    • 73. Contact me:
    • 74. http://christopherDeweese.com
    • 75. @cdeweese on the Twitter