开发者

WCF Dataservices and OData

开发者 https://www.devze.com 2022-12-27 20:43 出处:网络
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?

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?

开发者_Python百科

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号