OData is a query standard supported by Microsoft, and its fourth edition uses the rest specification, which looks much more concise. Its biggest feature is the ability to make query conditions on the client itself, and use it to build a rest service without worrying about the scalability of the query.
Here are a few simple examples:
- GET serviceroot/people? $filter =firstname eq ' Scott '
- GET serviceroot/airports? $filter =contains (location/address, ' San Francisco ')
- GET serviceroot/people (' Scottketchum ')/trips? erby =endsat desc
More examples can be found in the official documentation: Http://www.odata.org/getting-started/basic-tutoria
Since it is a rest-based service, using a common protocol and serialization approach, cross-language is a relatively simple thing, and its home page also has some examples of various language calls:
Building an OData curd service
Microsoft provides support for OData in the WEBAPI framework, which can be referenced in the article: Create an OData v4 Endpoint Using ASP. 2.2. Both the server and client libraries are available, and they are very handy to use.
Quickly build rest services with OData