This is a migrated thread and some comments may be shown as answers.

Is QueryableDataServiceCollectionView supported with WCF DataServices 5.0 ?

3 Answers 116 Views
DataServiceDataSource
This is a migrated thread and some comments may be shown as answers.
HCT-CERT
Top achievements
Rank 1
HCT-CERT asked on 23 Sep 2012, 08:12 AM
Hi,

We are getting errors related to DataQueryService class when we construct a QueryableDataServiceCollectionView instance from a WCFDataServices 5.0 DataServicesContext and DataServiceQuery.The application is complaining about the WCF DataService 4.0 assembly (System.Data.Services.Client.dll) !!!

The errors occurred after we ported the application from (WPF4.0 + WCFDataServices 4.0 + EF4.3) to (WPF4.5 + WCFDataServices 5.0 + EF5.0).

I saw an earlier reply from Telerik team that QueryableDataServiceCollectionView is not supported with WCF Data Services October 2011 CTP.Does this also apply to WCF DataServices 5.0 which is an offical version ??.



Environment:

VS 2012 Ultimate
NET 4.5
EF 5.0
WCF Data Services 5.0
WPF 4.5
Telerik WPF 2012.2 912

Thanks in advance

Madani


3 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 24 Sep 2012, 10:25 AM
Hello,

This happens because Microsoft decided to change names again:

"To support side-by-side deployment with existing .NET Framework assemblies, the assemblies in this release have been renamed from System.Data.Services to Microsoft.Data.Services. The actual WCF Data Services namespaces are unchanged."

We cannot build our assemblies against two different sets of Microsoft assemblies.

We have plans to reference the new assemblies starting with Microsoft only for our WPF 4.5 version. The old versions (.NET 3.5 and 4.0) will continue to reference the "standard" WCF Data Services assemblies starting with System.

Do you want me to send you some un-official .NET 4.5 binaries built on my machine referencing the new Microsoft-starting WCF Data Services assemblies? You can use them for testing purposes only.

Kind regards,
Ross
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
HCT-CERT
Top achievements
Rank 1
answered on 27 Sep 2012, 02:32 PM
Thanks Ross. We found a workaround by removing the DataServiceProtocolVersion.V3 parameter from the generated proxy reference class.

Meanwhile, it will be great if you share with me the .NET 4.5 assembly so we can test them.


Regards,

Madani
0
Rossen Hristov
Telerik team
answered on 27 Sep 2012, 02:44 PM
Hello,

Here they are. I included only 6 of them which should be enough to spin up a project with a grid, pager and QDSCV. 

Let me know if you need an additional assembly.

Kind regards,
Ross
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
DataServiceDataSource
Asked by
HCT-CERT
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
HCT-CERT
Top achievements
Rank 1
Share this question
or