My blog has moved and can now be found at

No action is needed on your part if you are already subscribed to this blog via e-mail or its syndication feed.

Sunday, April 18, 2004
« Microsoft Architecture Center RSS Feed /... | Main | Free Book: Exchange Server 2003 Message ... »

I am in the process of architecting a thick client distributed application that also has application integration business requirements. Looking through the various Distributed Systems Patterns in the Patterns & Practices "Enterprise Solution Patterns using Microsoft .NET v 2.0", the Data Transfer Object (DTO) Pattern maps very well into the path that we have chosen (WinForms <--> WS <--> Biz/Data).

While I was initially looking at implementing the DTO using a typed DataSet, I am concerned with the potential performance hit (Instantiation/ Filling/ Serialization/ Deserialization) when using a DataSet. Also, in this particular use case, the interaction is with a single table. The recommended alternative for better performance in this case is to use a DataReader with strongly typed objects. The implementation of which is supposedly documented in "Implementing DTO in .NET with Serialized Objects". 

But while this is referenced multiple times as a Related Pattern, I can't seem to find it in the book. Is this missing or is it in some other corner of the book that I have not perused as of yet?

[Now Playing: Jaage Jaage - Mere Yaar Ki Shaadi Hai]

Tags:: Architecture
4/18/2004 8:33 PM Eastern Daylight Time  |  Comments [1]  |  Disclaimer  |  Permalink   
Sunday, May 8, 2005 12:06:47 AM (Eastern Daylight Time, UTC-04:00)
Anil John,
<br> I do not think the book contains the sample of using Business objects to do what Typed DataSets have to offer. When developing the application that you described above I would recommend use of Typed DataSet because you are dealing with Disconnected enviroment; therefore, you will ran into resolving concurrency issues in your business object by yourself. It is possible to do but requires a lot of plugging coding. I ran only on one sample from MS at reporting starter kit i believe that uses Business object approach.
<br>I hope this helps, Maxim
<br>[ do you?]
Maxim V. Karpov
Comments are closed.