OpenID/OAuth and YQL with .NET

2,839 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
2,839
On SlideShare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
88
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

OpenID/OAuth and YQL with .NET

  1. 1. OpenID/OAuth and YQL with .NET <ul><li>Jimmi Kembaren </li></ul><ul><li>Yahoo! Developer Network Evangelist </li></ul>
  2. 2. Agenda <ul><li>Introduction to Yahoo! Products </li></ul><ul><li>Live Demo </li></ul><ul><li>YQL </li></ul><ul><li>OpenID + OAuth </li></ul><ul><li>How to build it with .Net </li></ul><ul><li>Q & A </li></ul>
  3. 3. Introduction to Yahoo! Products
  4. 4. Introduction to Yahoo! Products
  5. 5. Live Demo http://ydndemo.msdnsea.net
  6. 6. Live Demo
  7. 7. Live Demo - 1
  8. 8. Live Demo - 2
  9. 9. Live Demo - 3
  10. 10. Live Demo - 4
  11. 11. YQL – Yahoo! Query Language The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services. ( http://developer.yahoo.com/yql/ ) SELECT {SOMETHING} FROM {WEBSERVICE} WHERE {CONDITION}
  12. 12. YQL – Yahoo! Query Language <ul><li>Passing the YQL statement as a URL parameter (REST) </li></ul><ul><li>Return format: XML or JSON </li></ul><ul><li>URL: </li></ul><ul><ul><li>Public : http://query.yahooapis.com/v1/public/yql </li></ul></ul><ul><ul><li>Private : http://query.yahooapis.com/v1/yql </li></ul></ul><ul><li>Support Yahoo! Product API + Open Data Tables </li></ul><ul><li>http:// datatables.org </li></ul>
  13. 13. YQL – Yahoo! Query Language Console : http:// developer.yahoo.com/yql/console
  14. 14. OpenID <ul><li>Authentication System (Sign In) </li></ul><ul><li>Identified by URI http://jimmi.kembaren.com </li></ul><ul><li>Single Account for Multiple Websites </li></ul><ul><li>Specification: http://openid.net </li></ul>
  15. 15. OpenID Flow
  16. 16. OAuth <ul><li>Authorization System (Permissions) </li></ul><ul><li>Token Based </li></ul><ul><ul><li>Request Token </li></ul></ul><ul><ul><li>Verifier </li></ul></ul><ul><ul><li>Access Token </li></ul></ul><ul><li>Consumer Key, Consumer Secret, Application ID </li></ul><ul><li>Specification: http:// oauth.net </li></ul>
  17. 17. OAuth Flow
  18. 18. OAuth Flow
  19. 19. How to build it with .Net Create Your Project: https:// developer.apps.yahoo.com /projects
  20. 20. How to build it with .Net Accessing Public Data
  21. 21. How to build it with .Net <ul><li>Accessing Private Data </li></ul><ul><li>Use DotNetOpenAuth ( http://www.dotnetopenauth.net ) </li></ul>
  22. 22. How to build it with .Net <ul><li>SELECT Query use GET Method </li></ul><ul><li>INSERT / UPDATE / DELETE Query use PUT Method </li></ul>
  23. 23. How to build it with .Net <ul><li>SELECT Query use GET Method </li></ul><ul><li>INSERT / UPDATE / DELETE Query use PUT Method </li></ul>
  24. 24. Q & A Any Question? Email: [email_address] YM: jimmi_kembaren Twitter: @7immi

×