Is QueryableDataServiceCollectionView supported with WCF DataServices 5.0 ?

4 posts, 0 answers
  1. HCT-CERT
    HCT-CERT avatar
    22 posts
    Member since:
    Aug 2012

    Posted 23 Sep 2012 Link to this post

    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


  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 24 Sep 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. HCT-CERT
    HCT-CERT avatar
    22 posts
    Member since:
    Aug 2012

    Posted 27 Sep 2012 Link to this post

    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
  5. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2478 posts

    Posted 27 Sep 2012 Link to this post

    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.

Back to Top