is in WCF DataContract attribute is required?
I have a class that class is not marked with DataContract or property with DataMember.
When i deploy wcf service on 4 server, out 4 service works fine on 3 server and failed on 1 server with message "Type 'Class' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute."
So is there any settings in web.config or machine.config or in IIS where i can mandate to use serializer in code? or
i can specify to use default serializer if no attribute is specified ?
Thanks, krishna