As the storyline describes, I am participating in the demonstration process of the C # library in the WCF service. In the end, we want to reveal all the functionality, but currently the area is limited to a subset of the library API. One of the goals of this exercise is also to ensure that the WCF service uses the Request / Response messaging template. Thus, the interface / API will change as the existing library does not use this template
I started by implementing Service Contracts and Request / Response objects, but when it comes to developing DataContracts, I'm not sure where to go. I am divided between returning and annotating existing library classes with DataContract / DataMember VS attributes defining new classes that are surrogate classes for existing classes.
Does anyone have experience with a similar task or any recommendations on which method works best? I would like to point out that our team owns an existing library, so it has the source code for it. Any pointers or recommendations would be helpful.
source share