I have a Silverlight Project which passes data using the Data Contract to a WCF service. The WCF method then invokes a BAL class which again has the same properties. Is there any way to avoid this duplication of properties ?
Thanks, Chak.
I have a Silverlight Project which passes data using the Data Contract to a WCF service. The WCF method then invokes a BAL class which again has the same properties. Is there any way to avoid this duplication of properties ?
Thanks, Chak.
Chak,
Depending on your situation this might work for you. You can share items between projects in Visual Studio. When adding a new item (C# class in your case), simply add the item as a linked item. By doing this, the class will only exist in one location. I wrote a blog post about this a couple months ago.
I hope this helps!