Skip to content

Commit 5b9c92d

Browse files
authored
Added deprecation notice to all pages in wcf docs (#22549)
1 parent 8e342d3 commit 5b9c92d

File tree

71 files changed

+141
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+141
-1
lines changed

docs/framework/data/wcf/accessing-data-service-resources-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.assetid: 9665ff5b-3e3a-495d-bf83-d531d5d060ed
1111
---
1212
# Accessing Data Service Resources (WCF Data Services)
1313

14+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
15+
1416
WCF Data Services supports the Open Data Protocol (OData) to expose your data as a feed with resources that are addressable by URIs. These resources are represented according to the entity-relationship conventions of the [Entity Data Model](../adonet/entity-data-model.md). In this model, entities represent operational units of data that are data types in an application domain, such as customers, orders, items, and products. Entity data is accessed and changed by using the semantics of representational state transfer (REST), specifically the standard HTTP verbs of GET, PUT, POST, and DELETE.
1517

1618
## Addressing Resources

docs/framework/data/wcf/accessing-the-service-from-a-web-browser-wcf-data-services-quickstart.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ ms.assetid: 5a6fa180-3094-4e6e-ba2b-8c80975d18d1
66
---
77
# Accessing the Service from a Web Browser (WCF Data Services Quickstart)
88

9+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
10+
911
This is the second task of the WCF Data Services quickstart. In this task, you start the WCF Data Services from Visual Studio and optionally disable feed reading in the Web browser. You then retrieve the service definition document as well as access data service resources by submitting HTTP GET requests through a Web browser to the exposed resources.
1012

1113
> [!NOTE]

docs/framework/data/wcf/application-scenarios-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ ms.assetid: 7c82658f-e7c0-46b6-834d-6592f67ab5ea
99

1010
# Application Scenarios (WCF Data Services)
1111

12+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
13+
1214
WCF Data Services supports a core set of scenarios for exposing and consuming data as Open Data Protocol (OData) feeds. This topic points you to the topics relevant to these scenarios.
1315

1416
Expose relational data from a database as an OData feed.

docs/framework/data/wcf/asynchronous-operations-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ ms.assetid: 679644c7-e3fc-422c-b14a-b44b683900d0
99
---
1010
# Asynchronous Operations (WCF Data Services)
1111

12+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
13+
1214
Web applications must accommodate higher latency between client and server than applications that run inside internal networks. To optimize the performance and user experience of your application, we recommend using the asynchronous methods of the <xref:System.Data.Services.Client.DataServiceContext> and <xref:System.Data.Services.Client.DataServiceQuery%601> classes when accessing WCF Data Services servers over the Web.
1315

1416
Although the WCF Data Services servers process HTTP requests asynchronously, some methods of the WCF Data Services client libraries are synchronous and wait until the entire request-response exchange is completed before continuing execution. The asynchronous methods of the WCF Data Services client libraries do not wait for this exchange to complete and can allow your application to maintain a responsive user interface in the meantime.

docs/framework/data/wcf/attach-an-existing-entity-to-dc-wcf-data.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: e3f2d71d-434c-4e98-91c3-95adae4702b6
1010
---
1111
# How to: Attach an Existing Entity to the DataServiceContext (WCF Data Services)
1212

13+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
14+
1315
When an entity already exists in a data service, the WCF Data Services client library enables you to attach an object that represents the entity directly to the <xref:System.Data.Services.Client.DataServiceContext> without first executing a query. For more information, see [Updating the Data Service](updating-the-data-service-wcf-data-services.md).
1416

1517
The example in this topic uses the Northwind sample data service and autogenerated client data service classes. This service and the client data classes are created when you complete the [WCF Data Services quickstart](quickstart-wcf-data-services.md).

docs/framework/data/wcf/batching-operations-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ ms.assetid: 962a49d1-cc11-4b96-bc7d-071dd6607d6c
77
---
88
# Batching Operations (WCF Data Services)
99

10+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
11+
1012
The Open Data Protocol (OData) supports batch processing of requests to an OData-based service. For more information, see [OData: Batch Processing](https://www.odata.org/documentation/odata-version-2-0/batch-processing/). In WCF Data Services, each operation that uses the <xref:System.Data.Services.Client.DataServiceContext>, such as executing a query or saving changes, results in a separate request being sent to the data service. In order to maintain a logical scope for sets of operations, you can explicitly define operational batches. This ensures that all operations in the batch are sent to the data service in a single HTTP request, enables the server to process the operations atomically, and reduces the number of round trips to the data service.
1113

1214
## Batching Query Operations

docs/framework/data/wcf/bind-data-to-wpf-elements-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ ms.assetid: d6538ab0-0abe-426a-b9d9-e6f3a5ca2016
1111
---
1212
# How to: Bind Data to Windows Presentation Foundation Elements (WCF Data Services)
1313

14+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
15+
1416
With WCF Data Services, you can bind Windows Presentation Foundation (WPF) elements such as a <xref:System.Windows.Controls.ListBox> or <xref:System.Windows.Controls.ComboBox> to an instance of <xref:System.Data.Services.Client.DataServiceCollection%601>, which handles the events raised by the controls to keep the <xref:System.Data.Services.Client.DataServiceContext> synchronized with changes made to data in the controls. For more information, see [Binding Data to Controls](binding-data-to-controls-wcf-data-services.md).
1517

1618
The example in this topic uses the Northwind sample data service and autogenerated client data service classes. This service and the client data classes are created when you complete the [WCF Data Services quickstart](quickstart-wcf-data-services.md).

docs/framework/data/wcf/binding-data-to-controls-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ms.assetid: b32e1d49-c214-4cb1-867e-88fbb3d08c8d
1212
---
1313
# Binding Data to Controls (WCF Data Services)
1414

15+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
16+
1517
With WCF Data Services, you can bind controls such as the `ComboBox` and `ListView` controls to an instance of the <xref:System.Data.Services.Client.DataServiceCollection%601> class. This collection, which inherits from the <xref:System.Collections.ObjectModel.ObservableCollection%601> class, contains the data from an Open Data Protocol (OData) feed. This class represents a dynamic data collection that provides notifications when items get added or removed. When you use an instance of <xref:System.Data.Services.Client.DataServiceCollection%601> for data binding, the WCF Data Services client libraries handle these events to ensure that objects tracked by the <xref:System.Data.Services.Client.DataServiceContext> remain synchronized with the data in the bound UI element.
1618

1719
The <xref:System.Data.Services.Client.DataServiceCollection%601> class (indirectly) implements the <xref:System.Collections.Specialized.INotifyCollectionChanged> interface to alert the context when objects are added to or removed from the collection. Data service type objects used with a <xref:System.Data.Services.Client.DataServiceCollection%601> must also implement the <xref:System.ComponentModel.INotifyPropertyChanged> interface to alert the <xref:System.Data.Services.Client.DataServiceCollection%601> when properties of objects in the binding collection have changed.

docs/framework/data/wcf/calling-service-operations-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ms.assetid: 1767f3a7-29d2-4834-a763-7d169693fa8b
88
---
99
# Calling Service Operations (WCF Data Services)
1010

11+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
12+
1113
The Open Data Protocol (OData) defines service operations for a data service. WCF Data Services enables you to define such operations as methods on the data service. Like other data service resources, these service operations are addressed by using URIs. A service operation can return collections of entity types, single entity type instances, and primitive types, such as integer and string. A service operation can also return `null` (`Nothing` in Visual Basic). The WCF Data Services client library can be used to access service operations that support HTTP GET requests. These kinds of service operations are defined as methods that have the <xref:System.ServiceModel.Web.WebGetAttribute> applied. For more information, see [Service Operations](service-operations-wcf-data-services.md).
1214

1315
Service operations are exposed in the metadata returned by a data service that implements the OData. In the metadata, service operations are represented as `FunctionImport` elements. When generating the strongly typed <xref:System.Data.Services.Client.DataServiceContext>, the Add Service Reference and DataSvcUtil.exe tools ignore this element. Because of this, you will not find a method on the context that can be used to call a service operation directly. However, you can still use the WCF Data Services client to call service operations in one of these two ways:

docs/framework/data/wcf/configuring-the-data-service-wcf-data-services.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ ms.assetid: 59efd4c8-cc7a-4800-a0a4-d3f8abe6c55c
1010
---
1111
# Configuring the Data Service (WCF Data Services)
1212

13+
[!INCLUDE [wcf-deprecated](~/includes/wcf-deprecated.md)]
14+
1315
With WCF Data Services, you can create data services that expose Open Data Protocol (OData) feeds. Data in these feeds can come from a variety of data sources. WCF Data Services uses data providers to expose this data as an OData feed. These providers include an Entity Framework provider, a reflection provider, and a set of custom data service provider interfaces. The provider implementation defines the data model for the service. For more information, see [Data Services Providers](data-services-providers-wcf-data-services.md).
1416

1517
In WCF Data Services, a data service is a class that inherits from the <xref:System.Data.Services.DataService%601> class, where the type of the data service is the entity container of the data model. This entity container has one or more properties that return an <xref:System.Linq.IQueryable%601>, which are used to access entity sets in the data model.

0 commit comments

Comments
 (0)