Partilhar via


Выпущена новая версия WCF Data Services CTP 2 (март 2011)

Выпущена новая версия

библиотеки WCF Data Services
, которая предназначеная для поддержки открытого стандарта обмена данными OData на платформе .NET.

Новая версия содержит массу нововведений:

  • Relationship Links: The WCF Data Services client and server libraries have been extended to represent the URIs that allow the client to address the relationships between related entities;
  • Multi-Value properties: The WCF Data Services client and server libraries have been extended to represent small unordered groupings of non-nullable primitive or complex types;
  • EntitySet Resolver: Previous versions of the WCF Data Services client library assumed that all entity sets reside under the same service root. This release updates the client library to allow the client to resolve entity sets to different URIs;
  • Customizable feed update: The WCF Data Services client and server libraries have been extended to support Entity Property Mapping to Atom link and category elements. In addition, these mappings may be conditional;
  • Named streams: WCF Data Services has been extended to support having multiple named streams per entity as opposed to a Media Link Entry which can only represent one stream per entity;
  • Prefer header: The WCF Data Services client and server libraries have been extended to enable a client to state whether or not it would like the server to include a response payload for PUT, MERGE or POST operations. This is modeled after the HTTP Prefer RFC;
  • Support for new HTTP method (PATCH): In previous releases, MERGE was defined to allow for partial modifications to an entity. With this update, the WCF Data Services client and server libraries now support the verb PATCH in addition to MERGE. The core semantics of PATCH and MERGE are very similar;
  • Properties on derived types: This feature has been among our customers top asks since the lack of support makes exposing models with rich, well-defined inheritance hierarchies impossible to do. To enable such scenarios WCF Data Services now supports both exposing and consuming models which have properties (primitive, complex & navigation) defined on subtypes of the base type associated with the set.

Замечания к выпуску: данный выпуск является тестовым и предварительным, он будет работать параллельно существующей библиотеке WCF Data Services. Для возможности использовать новую версию параллельно с существующей, сборки новой версии переименованы, вместо System.Data.Services.dll из .NET 4 следует использовать Microsoft.Data.Services.dll из новой билиотеки.

Перед установкой новой версии WCF Data Services следует закрыть все открытые экземпляры Visual Studio. Пакет Microsoft Silverlight Tools for Visual Studio 2010 должен быть установлен перед установкой новой версии WCF Data Services.

Загрузить WCF Data Services March 2011 CTP 2 for .NET Framework 4 and Silverlight 4 можно по следующей ссылке .