OData到底是什么? [英] What exactly is OData?

查看:246
本文介绍了OData到底是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OData到底是什么?开始学习这个新概念并实现数据服务有多重要/必要?

What exactly is OData and how important/necessary is it to start learning this new concept, wrt implementing data services?

为什么WCF数据服务文档与OData如此紧密地结合在一起?

Also why is the WCF Data Services documentation so tightly coupled with OData?

基于答案,这是一个后续问题-我不应该尝试在没有OData的情况下实现WCF数据服务,否则我可以做到这一点,但这意味着要用更艰难的方式(重新发明轮子)?

Based on answers here's a follow-up question - I shouldn't be trying to implement WCF Data Services sans OData,or I can do that but that would mean doing it the tougher way(reinventing the wheel)?

推荐答案

首先要回答第二个问题,OData(或开放数据协议)是

To answer the second question first, OData (or the Open Data Protocol) is the evolution of Project Astoria/ADO.NET Data Services and is Microsoft's attempt to create an "open standard" for creating readable/writable data using REST. OData is the open protocol that ADO.NET/WCF Data Services uses to implement its functionality, and was directly created as a result of use in several Microsoft products, thus the tight connection.

关于WHAT,实质上,OData是 Atom发布协议启用数据表示,查询,替代格式(JSON)等.

As for the WHAT, OData is, in essense, a set of extensions to the Atom Publishing Protocol that enable data representation, querying, alternate formatting (JSON), etc.

这里有一些很好的资源可以帮助您入门:

Here are a couple of good resources to get you started:

  • OData is grease to cut data friction
  • Microsoft Proposes OData as de facto Web Data Protocol
  • OData – Getting Started

这篇关于OData到底是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆