Custom Data Service Providers (WCF Data Services)

Important

WCF Data Services has been deprecated and will no longer be available for download from the Microsoft Download Center. WCF Data Services supported earlier versions of the Microsoft OData (V1-V3) protocol only and has not been under active development. OData V1-V3 has been superseded by OData V4, which is an industry standard published by OASIS and ratified by ISO. OData V4 is supported through the OData V4 compliant core libraries available at Microsoft.OData.Core. Support documentation is available at OData.Net, and the OData V4 service libraries are available at Microsoft.AspNetCore.OData.

RESTier is the successor to WCF Data Services. RESTier helps you bootstrap a standardized, queryable, HTTP-based REST interface in minutes. Like WCF Data Services before it, Restier provides simple and straightforward ways to shape queries and intercept submissions before and after they hit the database. And like Web API + OData, you still have the flexibility to add your own custom queries and actions with techniques you're already familiar with.

WCF Data Services includes a set of providers that enables you to define a data model based on late-bound data types.

Provider Description
Metadata provider This is the core custom data service provider that enables you to define a custom data model at runtime by implementing the IDataServiceMetadataProvider interface.
Query provider This provider enables you to execute queries against a custom data model that is defined by using the IDataServiceMetadataProvider interface. The query provider is created by implementing the IDataServiceQueryProvider interface.
Update provider This provider enables you to make updates to types that are exposed in a custom data service provider and to manage concurrency. An update provider is created by implementing the IDataServiceUpdateProvider interface
Paging provider This provider is used with the custom data service provider to enable server-driven paging support. A paging provider for a custom data service is created by implementing the IDataServicePagingProvider interface.
Streaming provider This provider enables you to expose binary large object data types as a stream. A streaming provider is created by implementing the IDataServiceStreamProvider interface. The streaming provider can also be used with Entity Framework and reflection data source providers. For more information, see Streaming Provider.

See also