Print Page | Close Window

Entities from webservices

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4164
Printed Date: 18-Apr-2025 at 10:35am


Topic: Entities from webservices
Posted By: danjal
Subject: Entities from webservices
Date Posted: 27-May-2013 at 4:03am

We are thinking about writing a webservice in C++ on our Linux embedded system.

Is it possible in DevForce, to read data from this webservice into DevForce as entities, change these entities in our Silverlight application and return them back to the webservice for saving to the database? Is there any documentation on how to do that?

We have also been looking at BreezeJS. Is it better suited for this case?




Replies:
Posted By: kimj
Date Posted: 27-May-2013 at 9:43am
DevForce provides POCO "entities" for data not backed by a database. See http://drc.ideablade.com/xwiki/bin/view/Documentation/poco - http://drc.ideablade.com/xwiki/bin/view/Documentation/poco for more information.

Breeze can provide a JavaScript client richer access to just about any backend for which you have metadata. See http://www.breezejs.com/ - http://www.breezejs.com/ for more information.


Posted By: danjal
Date Posted: 27-May-2013 at 10:01am

Thank you.

So I guess in our case, we would setup a server, running the DevForce Entity Server with some implementations of PocoServiceProvider and PocoSaveAdapter. And then these would “talk” to the webservices on our Linux embedded system.

It is not possible for the DevForce client to “talk” directly to the webservices on the Linux machine - it has to go through a DevForce Entity Server.



Posted By: kimj
Date Posted: 28-May-2013 at 10:03am
That's right. With DevForce POCO support, it's your Entity Server which will talk to the web services. If your Silverlight application is already using DevForce, you can use the same Entity Server.


Posted By: danjal
Date Posted: 28-May-2013 at 10:08am
Thank you,
 
I did some tests and it works fine.



Print Page | Close Window