Back to list
Views:   5.1K
Replies:  1

On .NET Pattern Framework 4.5 where are the DTOs?

In previous versions of the dofactory I saw some DTOs (Data Transformation Objects), now when I looked for them in v45 I could not find them any where

Where DTOs removed from v45? and if yes why?


Angel Valdes, Jan 17, 2014
Reply 1

The purpose of DTOs (Data Transfer Objects) is to transfer data.  Essentially these are objects without behavior (methods).

DTOs are alive and well in vsn 4.5.  If you explore the MVC application, all the ViewModel objects are DTOs.  The difference is that they don't have the DTO name extension.

Copying data back and forth between Domain objects and DTOs can become repetitive and cumbersome.  In release 4.5 we don't do it manually, but instead use AutoMapper which is a wonderful open source tool whose purpose it is to map objects from one to another.  In their website ( they describe it as a 'convention based object-object mapper'. Check it out. 

Jack Poorte, Jan 20, 2014
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.