What is it
The Open Data Protocol (OData) is a protocol initially developed by Microsoft for querying and updating data using web protocols, namelly HTTP, AtomPub and JSON.
It enables rich querying using URI query string parameters. The data source is exposed as addressable resources via an URI. The data source data is then consumed through the web based on the ReST interface via HTTP protocol which implements the PUT, GET, POST and DELETE methods to execute the basic CRUD operations.
This way queries are created via URL instead of SQL queries created for common database relational systems.
Where is it used
OData is used to specify web-services that exposes data following a resource-oriented architecture (ROA) instead of a Service Oriented Architecture (SOA).
The OData protocol is used by NET on:
- WCF Data Services technology
- ASP.NET Web API