WCF DataContract deserialization of complex types
- by Meidan Alon
Hi,
I have a service that returns a collection of MyClass objects.
If all of the MyClass instances have null in MyClass2Reference then everything works fine.
Otherwise, I get a "Connection reset" error on the client side.
What am I doing wrong?
Nevrmind: was a problem with NHibernate lazy proxy objects.
[DataContract]
public MyClass
{…