Compartir a través de


Query Marketplace Datasets from your App

DataMarket Logo

All data from the Marketplace is exposed as RESTful OData feeds. The Open Data Protocol (OData) is a Web protocol for querying and updating data. OData builds upon Web technologies such as HTTP, Atom Publishing Protocol (AtomPub) and JSON to provide access to information from a variety of applications, services, and stores.  OData is able to expose and access information from a variety of sources including, but not limited to, relational databases, file systems, content management systems and traditional Web sites.

OData is consistent with the way the Web works. It uses an HTTP-based, uniform interface for interacting with resources. The use of core Web principles allows OData to enable data integration and interoperability across a broad range of clients, servers, services, and tools thereby making development easier and faster. Development is also eased by downloadable service references and classes provided by the Marketplace.

In this Section

Compare Fixed and Flexible Query Types

Determine whether you need to use a flexible or fixed query to consume data from your dataset.

Create a Flexible Query Application

Use Service References in Visual Studio to consume data from datasets that support flexible queries. This topic includes example code.

Create a Fixed Query Application

Use downloadable Service Classes to consume data from datasets that support fixed queries. This topic includes example code.

Compare Flexible and Fixed Query Code

See similarities and differences in code used for flexible and fixed queries side-by-side.

Supported OData Query Options

The Marketplace supports a subset of OData query options. Learn what OData query options are and are not supported.

JSON Support

Marketplace enables JSON support for WSPF and JSON/P support for all Marketplace services.

If you want to query a dataset without writing code, you can do that from Service Explorer. See the topic Explore a Dataset with Service Explorer and its sub-topics for more information.