Tuesday, December 06, 2005

Implementing Data Transfer Object in .NET with Serialized Objects is missing from ESP

Our .NET Webservice is accessed by a Java client, which in turn require to have similar types as our middle tier. So we thought of using the Data Transfer Object pattern. Now this pattern?s supposed to have two implementation examples, one using typed datasets and other using serialized objects. But the latter is not available in MSDN

But the pattern page has a reference to this which in turn discusses usage of typed datasets and arrays.

But I personally feel that Implementing DTO in .NET with Serialized Objects is just what its name suggests. I?m thinking of having an object XMLSerialized and transferred. May be schema would be shared between the consumers so the types could be validated.

Any body have used this?

No comments:

Post a Comment