Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF Dataservices and OData

Tags:

wcf

odata

Could someone please explain the difference? From what I understand, I could expose my data directly using WCF data services or expose it using OData. OData is a more universal protocol?

http://msdn.microsoft.com/en-us/data/aa937697.aspx

like image 723
rkrauter Avatar asked Apr 24 '10 17:04

rkrauter


1 Answers

OData is the protocol specification / standard - how to query, what operators to use on the URL etc.

WCF Data Services is the .NET/WCF implementation of that protocol / standard.

So you cannot expose your data using OData - it's not a product or a code base you can use.

However, you can do so using WCF Data Services which is based on the OData protocol/standard.

like image 61
marc_s Avatar answered Oct 04 '22 02:10

marc_s