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

Need for WCF Data Service 5.0 support of Telerik.Windows.Controls.DataServices

7 Answers 151 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peizhe
Top achievements
Rank 1
Peizhe asked on 08 Apr 2013, 03:53 AM
Telerik.Windows.Controls.DataServices use System.Data.Services.Client.dll which is for old wcf data services.However, Visual studio 2012 use Microsoft.Data.Services.Client.dll (for WPF) and Microsoft.Data.Services.Client.SL.dll(for Silverlight) to suppor WCF Data services 5.0+. The old client dlls has some limitations we need to avoid. We use QueryableDataServiceCollectionView ( in Telerik.Windows.Controls.DataServices.dll) in our products(Silverlight 4.0+,.WPF 4.0+) and need it to support WCF Data Services 5.0+.

7 Answers, 1 is accepted

Sort by
0
Accepted
Rossen Hristov
Telerik team
answered on 08 Apr 2013, 09:16 AM
Hi,

I am afraid that we cannot build the control against two different sets of assemblies at the same time. We can only target assemblies which are an official part of the .NET Framework/Silverlight.

System.Data.Services.Client.dll is part of the base framework that ships with .NET 3.5 and upwards. The Microsoft.Data.Services.Client.dll is an updated version of this library which is not yet part of the base .NET installation package and contains any new features since the base release.

I am afraid that we are unable to target assemblies which are not part of the official framework, since they can be updated any single day or night through NuGet. You can imagine what that means for a control vendor which depends on Microsoft assemblies. This article explains the difference between both sets of assemblies.

Have you tried replacing the System.* references with the Microsoft.* ones in your project. If the public API is the same in the Microsoft.* assemblies, your project should be able to compile against the Microsoft.* assemblies. After all, our source code works with several MS classes such as the DataServiceQuery and DataServiceContext -- if they are the same and in the same namespace in the new assemblies then it should be able to compile. Have you tried this approach?

All the best,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Peizhe
Top achievements
Rank 1
answered on 09 Apr 2013, 01:28 AM
Could youd made some internal builds of Telerik.Windows.Controls.DataServices(both for WPF and Silverlight) for support WCF Data Services 5.0+? Since the old System.Data.Services.Client.dll has many limitations on custom operations,but we used custom operations heavily in our products,so it is not an option for us to use old System.Data.Services.Client.dll as a replacement.The last solution for us is to replace QueryableDataServiceCollectionView with an alternativ similar,e.g, PagedCollectionView.
0
Rossen Hristov
Telerik team
answered on 09 Apr 2013, 07:41 AM
Hi,

Unfortunately, we cannot provide such builds.

Have you tried replacing the System.* references with the Microsoft.* ones in your project?

Greetings,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Peizhe
Top achievements
Rank 1
answered on 09 Apr 2013, 08:40 AM
Yes, I've tried replacing the System.* references with the Microsoft.* ones in our project.All are ok except the code used QueryableDataServiceCollectionView, because QueryableDataServiceCollectionView does not recognize DataServiceContext from Microsoft.*.dll.
0
Rossen Hristov
Telerik team
answered on 09 Apr 2013, 12:15 PM
Hi,

Actually, our assembly Telerik.Windows.Controls.DataServices for .NET 4.5 (i.e. with version ending in .45) was built against the Microsoft.Data.Services.Client.dll. So if you are using it, you should be able to use the new WCF Data Services starting with Microsoft.

As for Silverlight, we will consider whether we can support two different versions at the same time (our build infrastructure is quite complex not to mention the online examples, web-site and so forth) or we will simply dump the System.* references and migrate to the Microsoft ones. Our main problem is that this will be one control with two different custom versions, which has never been needed before and the existing infrastructure has no way of supporting such a scenario at the moment.

I will let you know when I have more information regarding this issue.

All the best,
Rossen Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
PW
Top achievements
Rank 1
answered on 03 Nov 2014, 03:07 PM
We are referencing Telerik.Windows.Controls.DataServices50.dll, version: 2014.1.331.1050.  We using the QueryableDataServiceCollectionView class.  It compiles fine with OData version 5.6.0 using Microsoft.DataServices.Client.SL version 5.6.0.0.  When I upgraded to OData 5.6.2 or 5.6.3 I get a compile error saying I must add a reference to Microsoft.Data.Services.Client.SL, Version=5.6.0.0.  Is there a version of QueryableDataServiceCollectionView that has been compiled with a later version of OData?
0
Dimitrina
Telerik team
answered on 06 Nov 2014, 11:07 AM
Hi,

I am afraid that currently there is not such a version. We have this feature request already logged on our public Feedback Portal. You can vote for it and also follow its progress here:
Add support for NuGet package which targets OData v4.


Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Peizhe
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Peizhe
Top achievements
Rank 1
PW
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or