Pages

Men

rh

7/06/2012

What is the disadvantage of using Serializable attribute to serialize a complex type that is sent and received between clients and services in WCF?

What is the disadvantage of using Serializable attribute to serialize a complex type that is sent and received between clients and services in WCF?

When we decorate a class with Serializable attribute, all the fields of the class are serialized regardless of the accessibility. We donot have control on what to serialize and what not to serialize. We also will not have any control over naming conventions or data types.

No comments :

Post a Comment