Last post Jun 16, 2010 01:51 PM by toas1
Jun 16, 2010 05:57 AM|siby_1981|LINK
Can some one inform me whether I need to replicate the same set of entities in the client which are similar to that of the ones in the server? I have planned to start a proj with service functions as wcf services and in turn they are getting referred in
silverlight client application.
Incase if i need to consider casting to or back from the return value lists of service methods in the server, should i be creating entity class in the client application as well? Or is there a work around? Something like exposing the entities from the server
just as the services functions?
Entities WCF Enabled Web Services
Jun 16, 2010 01:51 PM|toas1|LINK
The choice is yours. When you add a reference to a WCF service the delault is to reuse types in referenced assemblies. This means that if you also add a reference to a dll containing the class you are exposing it will be reused, if not the auto generated
class will be used.