OpenID/OAuth and YQL with .NET

Preview:

DESCRIPTION

 

Citation preview

OpenID/OAuth and YQL with .NET

Jimmi KembarenYahoo! Developer Network Evangelist

Agenda

Introduction to Yahoo! Products

Live Demo

YQL

OpenID + OAuth

How to build it with .Net

Q & A

Introduction to Yahoo! Products

Introduction to Yahoo! Products

Live Demo

http://ydndemo.msdnsea.net

Live Demo

Live Demo - 1

Live Demo - 2

Live Demo - 3

Live Demo - 4

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}

YQL – Yahoo! Query Language

• Passing the YQL statement as a URL parameter (REST)

• Return format: XML or JSON

• URL:

• Public : http://query.yahooapis.com/v1/public/yql

• Private : http://query.yahooapis.com/v1/yql

• Support Yahoo! Product API + Open Data Tables

http://datatables.org

YQL – Yahoo! Query Language

Console : http://developer.yahoo.com/yql/console

OpenID

• Authentication System (Sign In)

• Identified by URI http://jimmi.kembaren.com

• Single Account for Multiple Websites

• Specification: http://openid.net

OpenID Flow

OAuth

• Authorization System (Permissions)

• Token Based

• Request Token

• Verifier

• Access Token

• Consumer Key, Consumer Secret, Application ID

• Specification: http://oauth.net

OAuth Flow

OAuth Flow

How to build it with .Net

Create Your Project: https://developer.apps.yahoo.com/projects

How to build it with .Net

Accessing Public Data

How to build it with .Net

• Accessing Private Data

• Use DotNetOpenAuth ( http://www.dotnetopenauth.net )

How to build it with .Net

• SELECT Query use GET Method

• INSERT / UPDATE / DELETE Query use PUT Method

How to build it with .Net

• SELECT Query use GET Method

• INSERT / UPDATE / DELETE Query use PUT Method

Q & A

Any Question?

Email: jimmi@yahoo-inc.com

YM: jimmi_kembaren

Twitter: @7immi