Telerik.Windows.Controls.DataServices with binding to Microsoft.OData.Client

0 Answers 23 Views
DataServiceDataSource
Robin
Top achievements
Rank 1
Robin asked on 01 Nov 2023, 03:30 PM

I'm looking for a NuGet Package that contains the Telerik.Windows.Controls.DataServices library that is binded against the latest Microsoft.OData.Client library.

In your documentation (https://docs.telerik.com/devtools/wpf/controls/raddataservicedatasource/getting-started/getting-started) you write, that such a version can be found in the NetCore, WPF50 and WPF60 folders. But in none of the NuGet packages I'm able to find such a folder.

I would highly appreciate it if you can help out here.

Dinko
Telerik team
commented on 02 Nov 2023, 02:59 PM

Hello Robin,

To elaborate a bit the  RadDataServiceDataSource relies on the Microsoft.OData.Client dll exactly and that dll does not have a version built against .NETCORE 3.1 / .NET 5. You can check out the latest version of the Microsoft.OData.Client.NuGet (7.18.0) targets .NET Standard 2.0 (I have attached a picture demonstrating this NuGet package).

I have ported the DataServiceDataSource SDK example to a .NET 5 project. In my scenario I am using NuGet packages for my project.

For your convenience I attached a sample solution where you could take a look.

Robin
Top achievements
Rank 1
commented on 02 Nov 2023, 03:12 PM | edited

Hi Dinko,

thanks for your reply.

Maybe I should have noted before that we are relying on a .NET Framework 4.8 based WPF project. Hereby the RadDataServiceDataSource.DataServiceContext (Telerik.Windows.Controls.DataServices.for.Wpf/2023.3.1010) expects a DataServiceContext from the System.Data.Services.Client namespace instead of Microsoft.OData.Client.

I will try to checkout the mentioned example to see if I did anything wrong.

No answers yet. Maybe you can help?

Tags
DataServiceDataSource
Asked by
Robin
Top achievements
Rank 1
Share this question
or