BT

WCF Data Services October CTP Updates OData Libraries, Adds Spatial Data Types

by Jenni Konrad on Oct 28, 2011 |

Microsoft has released the WCF Data Services October CTP, which targets .NET 4 and Silverlight 4. This update includes new libraries for OData version 3, and adds support for spatial data.

The October CTP includes a standalone library for accessing OData directly. As to why Microsoft is providing this independent of WCF Data Services, OData Team Program Manager Shayne Burgess explains:

If you want a great end-to-end solution for creating and exposing your data via an OData endpoint, then the WCF Data Services server library is (and will continue to be) the way to go. If you want a great OData Feed-consuming client with auxiliary support, like code generation and LINQ translation, then WCF Data Services’ client library is still your best bet. However, we also recognize that people are exploring creative possibilities with OData, and to help them build their own solutions from scratch we made the components we use as part of the WCF Data Services stack available as a stand-alone library.

The new OData v3 functionality includes the following:

  • multi-valued data types
  • 'any' and 'all' operators
  • named resource streams for binary data
  • PATCH requests
  • 'Prefer' header support
  • updates to feed customization
  • support for Entity Sets with different base URIs
  • new 'IncludeRelationshipLinksInResponse' property

The new spatial library adds 16 primitive spatial OData types, and the ability to perform operations on them in select, filter, and order by clauses. According to the WCF Data Services Team, these data types are supported by the Reflection or Custom Data Service Providers, but they are not yet available via the Entity Framework provider. That functionality will be added after the next release of the Entity Framework.

Actions and Vocabularies are also included in this CTP. Like the spatial data types, Actions are now available to custom data providers, but are not yet supported by the Entity Framework provider. Vocabularies provide a way to make metadata more expressive in an OData service; for an example of the implementation of Vocabularies and annotation, visit the WCF Data Services Team Blog.

The WCF Data Services October CTP is available from the Microsoft Download Center.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT