The architecture in my application is somewhat like this
MainUI------->WCF------->BLL------->DAL
I am using Entity Framework 4.0 and .Net Framework 4.0.
My data access layer returns PoCo object which is getting serialized and deserialized while transferring the object to and from.
Now when WCF is returning the object before it gets serialized it is fine, just as I expected but when it gets deserialized it sometimes misses some properties(Navigational Properties) of my custom objects, not all the time but sometimes. Especially when i send List of custom objects over the wire. It returns the values for the single object all the time.
For the record, I am using DataContract Serializer.
I want some insight of this Serialization/Deserialization process. And I also want to view the serialized object and the exact points where an object is getting serialized and deserialized.