I have an XBap system designed as a three-layer application. The XBap client consumes logic through the WCF service using netTcpBinding.
To simplify data binding and the ability to reuse data validation built into my business objects, I selected a link to the library of business objects from the xBap client instead of creating a proxy.
These objects do not implement any logic other than their own data validation. Real business logic is implemented inside my WCF service.
Now I am facing a big problem. I need to port xBap to silverlight, so I need a silverlight application. to use the same business logic (which is also used by the LOB winforms application).
Some emerging issues:
1) You cannot reference the business object library from the silverlight client application, since it was compiled as a regular dll, not silverlight.
2) It is impossible to compile it as a silverlight library, because I will lose a lot of functionality and, obviously, not a very good idea. If a new .net platform comes up in the future, I have no guarantee that the changed (silverlight) dll will work.
I had hope when I discovered RIAServices. I read somewhere that I can implement a service and use any kind of DAL. (I have a custom one), but I did not find an example showing how to put RIAServices on top of the existing business layer. It is worth saying that we do not use (and do not plan) LINQ. Every example I found started using RIAServices and writing business logic from scratch using LINQ.
RIAServices , , , -, .
, , , WCF, , silverlight 3.0 - -.
, , , , -.
RIAServices , silverlight. WCF (SVCUtil.exe) , "" . , , - .
, , - .
,