Ticket Q449810
Visible to All Users
Duplicate

XpoDataServiceV3 with WCF Data Services 5.1 in Azure

created 12 years ago

Hi,
This is not really a bug report, more like a comment or a heads-up.
I'm developing an Azure service that is using XpoDataServiceV3.
After installing v2012.2.4 I add references to the WCF data services using NuGet which pointed me to the package for WCF v5.1.
The project compiled and run fine in my development machine.
When I deploy it to Azure the role kept restarting without being able to run.
(As you may, or not, know this behaviour is usually caused by unhandled exceptions or missing referenced DLLs)
No details on the exception it was causing or indication of what was really causing the problem. BTW, I had all DLLs set to copy local.
After a lot of struggle I end up removing the NuGet package and reference the WCF DLLs from the bin folder of the SDK installed in my machine. Specifically v5.0, not 5.1.
That solved the problem and the service was deployed and is running as expected.
I didn't dig into this further by lack of time. This to say that I don't know if the problem was caused by the NuGet package or by something with the v5.1 DLLs, or if v5.1 require any extra DLLs that I'm not aware of.
Perhaps it would be a good idea and may save some else time stressing that XpoDataServiceV3 should be used with v5.0 or that v5.1 may cause issues.

Answers approved by DevExpress Support

created 12 years ago (modified 12 years ago)

Hi, Jose. Thank you for the feedback. The XpoDataServiceV3 is built against WCF Data Services 5.0. It is required to rebuild XPO from sources to use 5.1. We will note this fact in documentation.

    Show previous comments (2)

      Hi,
      Any update on the DevExpress.Xpo.v12.2.Extensions compiled against WCF Data Services 5.1?
      Please, this is really important having acces to options such json format is very important.

      DevExpress Support Team 12 years ago

        Starting from the next maintenance build (12.2.6), we will include different versions of this assembly built against corresponding WCF Data Services versions:
        DevExpress.Xpo.v12.2.Extensions.dll (5.0)
        DevExpress.Xpo.v12.2.Extensions.Wcf.5.02.dll
        DevExpress.Xpo.v12.2.Extensions.Wcf.5.1.dll
        DevExpress.Xpo.v12.2.Extensions.Wcf.5.2.dll

          Glad to know it.
          Thanks for the update.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.