+ All Categories
Home > Documents > WCF Data Services - Office Business Application & iPhone

WCF Data Services - Office Business Application & iPhone

Date post: 27-Jan-2015
Category:
Upload: andri-yadi
View: 105 times
Download: 0 times
Share this document with a friend
Description:
 
Popular Tags:
21
WCF Data Services for OBA & Mobile Development UPI, March 13, 2010 Andri Yadi | [email protected] CEO, DyCode | Microsoft MVP http://geeks.netindonesia.net/blogs/andriyadi
Transcript
Page 1: WCF Data Services - Office Business Application & iPhone

WCF Data Services for OBA & Mobile Development

UPI, March 13, 2010

Andri Yadi | [email protected], DyCode | Microsoft MVP

http://geeks.netindonesia.net/blogs/andriyadi

Page 2: WCF Data Services - Office Business Application & iPhone

Cloud Computing

Page 3: WCF Data Services - Office Business Application & iPhone

SOAP/WS-*?

Page 4: WCF Data Services - Office Business Application & iPhone

SOAP arguably are:

• Complex

• Slow

• Heavyweight

• Tied to development tools and libraries

• Not supported universally

• Cross-vendor/platform interoperability NOT perfect

Page 5: WCF Data Services - Office Business Application & iPhone

REST?REpresentational State Transfer

Page 6: WCF Data Services - Office Business Application & iPhone

REST!= Protocol!= Standard!= Format

Page 7: WCF Data Services - Office Business Application & iPhone

REST == Architectural Stylefor connecting distributed applications

Page 8: WCF Data Services - Office Business Application & iPhone

REST

• Server-side resources identified by URI

• Access resources over HTTP:

• Returned data is “plain”: Atom, plain-XML or JSON

POST Create INSERT

GET Retrieve SELECT

PUT Update UPDATE

DELETE Delete DELETE

Page 9: WCF Data Services - Office Business Application & iPhone

Client

Server

Resources

Resource 1

Resource 2

URL

VERB (GET, POST, PUT, DELETE)

Representation

Status

Representation

XML JSON

XML JSON

Page 10: WCF Data Services - Office Business Application & iPhone

ODataOpen 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

Page 11: WCF Data Services - Office Business Application & iPhone

WCF Data Services

SQL Server 2008 Reporting Services

Data Services Client

HTTP(Open Data Protocol)

Windows Azure Table Storage

Page 12: WCF Data Services - Office Business Application & iPhone

WCF Data Services

Page 13: WCF Data Services - Office Business Application & iPhone

WCF Data Services

== Astoria== ADO.NET Data Services

Page 14: WCF Data Services - Office Business Application & iPhone

WCF Data ServicesA RESTFul implementation for data-centric

services

Page 15: WCF Data Services - Office Business Application & iPhone

Hosting/HTTP Listener

Data Services Runtime

Data Access Layer

Relational Database

EntityFramework

Custom LINQ Provider

HT

TP

Open Data Protocol (OData)

Other Sources

Page 16: WCF Data Services - Office Business Application & iPhone

Hosting/HTTP Listener

Data Services Runtime

Data Access Layer

SQL Server

EntityFramework

HT

TP

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

var q = from e in MyEntities where id = 10 select e;

SELECT * FROM MyEntity WHERE id = 10

Page 17: WCF Data Services - Office Business Application & iPhone

Demo

Page 18: WCF Data Services - Office Business Application & iPhone

WCF Data Services

Data Services Client

HTTP(Open Data Protocol)

Page 19: WCF Data Services - Office Business Application & iPhone

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

Page 20: WCF Data Services - Office Business Application & iPhone

Q&A

Page 21: WCF Data Services - Office Business Application & iPhone

DyCodewww.dycode.com | [email protected] IT Solutions for Optimal Business Value


Recommended