I’m using WCF to return a list of complex objects returned from SQL Server with Linq.
I want to return a list of objects with around 16 properties and 2 References to other complex types (with around 8 properties each one).
I’ve seen in fiddler that each object returned (when serialized to XML) is around 5KB and, when I try to return a full list (900 items) it’s around 3MB!!!
Is this normal? Is there any other way to serialize data to a light-weight format?
Thanks in advance!!
Look into NetTcpBinding if this is possible for you, this will reduce network traffic very much compared to XML Serialization