Sharing common class in wcf project

Posted by Saint on Stack Overflow See other posts from Stack Overflow or by Saint
Published on 2012-10-23T14:18:02Z Indexed on 2012/10/23 17:00 UTC
Read the original article Hit count: 233

Filed under:
|
|
|
class MyCommonClass
{
//properties
}

This class should be accessible in

  1. service project
  2. wcf-client project
  3. the other for which they are references. In this common project I can't generate servicereferences.

I think, I could don't generate MyCommonClass in ServiceReferences but how to mark class to be nonserializable? In properties there's IgnoreDataMemberAttribute. I tried also reuse MyCommonClass type located in common project, but it is still generated

© Stack Overflow or respective owner

Related posts about c#

Related posts about wcf