Back to list
Views:   5.2K
Replies:  1
Archived

DTOs in Patterns in action

I don't understand why you use DTOs and the AutoMapper to then map business objects to the DTOs?

isn't one of the reasons to use DTOs not to make your BO available (hide them)? Why do you then reference your BO layer from the presentation layer?

Thanks!

Angel Valdes, Jan 24, 2014
By analyzing Patter framework 4.0, I can see examples of using DTOs at the service layer, this way completely isolating the presentation layer from the BL and real objects. The presentation only has a reference to the service layer. Why did you use the DTOs in the Presentation layer and reference the business layer in Pattern framework 4.5?
Jan 29, 2014
Reply 1
Ji Hyeonmyeong, Jun 08, 2015


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.2.2