WCF Data Contract / Serialization -


I have created a simple WCF application that exposes an operation. It takes an aggregate data type as the operation parameter

I have not decorated this overall data type with the [DataContract] attribute but it is working and I can see the schema in the WSDL for this I am

Now I understand that this new custom type must be decorated with the [serialable] or [datacontract] attribute to participate in web service operations.

What am I missing here? Support of POCO has been started in WCF since NAT 3.5 SP1 and you can decorate your object with the

> [DataContract] and [datamember] features public assets will be automatically exposed. However, I recommend that you clearly mark them with those features.


Comments