Partager via


Defining 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.

This section describes how to create and configure WCF Data Services to expose data as an Open Data Protocol (OData) feed. For more information about the basic steps required to create a data service, see Exposing Your Data as a Service.

In This Section

Configuring the Data Service

Describes the data service configuration options provided by WCF Data Services.

Data Services Providers

Describes the provider models for exposing data as a data service.

Service Operations

Describes how to define service operations that expose methods on the server.

Feed Customization

Describes how to create a mapping between entities in the data model defined by the data service provider and elements in the data feed.

Interceptors

Describes how to define interceptor methods to perform custom business logic on requests to the data service.

Developing and Deploying WCF Data Services

Describes how to develop and deploy a data service by using Visual Studio.

Securing WCF Data Services

Describes authentication and authorization for the data service and other security considerations.

Hosting the Data Service

Describes how to select a host for your data service.

Data Service Versioning

Describes how to work with different versions of the OData.

WCF Data Services Protocol Implementation Details

Describes optional functionalities of the OData protocol that are not currently implemented by WCF Data Services.

See also