Reputation: 18160
I want to evaluate the feasibility of writing a WCF service for my DevExpress XAF/Entity Framework Winforms application to use.
Dev Express suport for this question indicates that this would be quite difficult, because XAF uses dynamically-generated queries to select and modify data.
Never the less, I am wondering how to go about it.
I have thought of simply connecting to the remote database without having a middle tier, but the answer here makes me think that this would be unsatisfactory.
Upvotes: 1
Views: 790
Reputation: 11326
There is no problem with creating a WCF service with XAF. In fact DevExpress have documented the steps. The dynamically created queries are passed to the middle-tier for security checks and execution and the results are returned.
But as it stands, the middle tier functionality is in beta and does not support EntityFramework, only XPO (and it does not look like it's made it into 15.1 which will be released soon has just been released).
Note can also access the XAF middle tier data via OData. Again, only XPO for the time being.
Upvotes: 1