Поделиться через


Announcing WCF Data Services March 2011 CTP2 for .NET4 & SL4

 

Today we are releasing CTP2 of the next version of the WCF Data Services libraries.  This release targets .NET 4 and Silverlight 4 and includes new client and server features in addition to those that shipped as part Oct 2010 CTP1.   Below is a brief summary of the features available in this CTP.  Subsequent blog posts will discuss each feature in more detail and provide examples of how to use each.

Properties on derived types:  The WCF Data Services framework is designed to make it possible to expose a model that has inheritance hierarchy for the entities in the model however a current limitation is that only operations on properties that exist on the base type, associated with the set, are supported. 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.

Frequently Asked Questions

Q1: What are the prerequisites?

A1: See the download center page for a list of prerequisites, supported operating systems, etc.

Q2: Does this CTP install side-by-side with Oct 2010 CTP1 that is currently on my development machine?

A2: Installation of CTP2 will result in setup automatically uninstalling CTP1 if it is installed on the machine. 

Q3: Does this CTP install side-by-side with the .NET 4 and Silverlight 4 versions that are currently on my development machine?

A3: By in large this install is side-by-side with existing .NET4 and SL4 bits; however, that was not possible in all cases so some VS files will be modified by the CTP installer to enable the Add Service Reference gesture in Visual Studio 2010 to make use of the new features in this CTP.  The files should be replaced to their original state during uninstall of this CTP. 

Q4: Does this CTP include support for Windows Phone 7?

A: No, you can download the OData Windows Phone 7 client from https://odata.codeplex.com. The Windows Phone 7 client does not yet support new features like properties on derived types.

Giving Feedback

The following forum is dedicated to providing feedback on "pre-release" versions of data services such as this CTP: https://social.msdn.microsoft.com/Forums/en-US/dataservices/threads.  Please direct all your questions about the release to this forum. 

Note: The forum intended for questions on currently shipping versions of ADO.NET Data Services is still available at: (https://social.msdn.microsoft.com/Forums/en-US/adodotnetdataservices/threads  ).

We look forward to hearing your thoughts on the release!

Ahmed Moustafa
Program Manager
WCF Data Services

Comments

  • Anonymous
    March 09, 2011
    Thanks so much for properties on derived types!

  • Anonymous
    March 09, 2011
    Great news on derived types.  Do you have a roadmap for when this will hit release so I know if I can use it in projects I'm developing now?

  • Anonymous
    March 29, 2011
    Can this CTP be used for WCF Data Services hosted on Widows Azure Web Role ?

  • Anonymous
    June 05, 2011
    WCF Data Services CTP2 - Bug inserting rowversion (timestamp) columns Inserting new entities with a rowversion (timestamp) field throws an exception: "The 'ConcurrencyCheck' property on 'TestEntity' could not be set to a 'null' value. You must set this property to a non-null value of type 'Byte[]'." This behavior occurs only with CTP2 DLLs (EF 4.0 or 4.1 is the same), RTM DLLs works well CREATE TABLE [dbo].[Entity1Set] ( [Id] [int] IDENTITY(1,1) NOT NULL, [ConcurrencyCheck] [timestamp] NOT NULL, [Field1] nvarchar NOT NULL) Thanks in advance