Dofactory.com
Dofactory.com
 Back to list
Views:   2.7K
Replies:  0
Archived

Implement Layered architecture without WCF

Hi Guys :).

I'm very new to the world of layered architecture so please bare with me!

I'm creating a WPF application that uses MVVM like the example dofactory provide.

So far, I've implemented the DataObject layer, the BusinessObject layer and in the process of creating the Service layer and Presentation Layer. 

But this is where i become unstuck. Within my Actionservice,  as well as the Provider class within my Presentation layer (model) is throwing errors from left right and center. 

After following the PDF, it says to change the list items to DTO's within the mapper (Service.DataTransferObjectMapper). But doing so creates these problems.

Error4Argument 1: cannot convert from 'Service.DataTransferObject.EmployeeDto' to '\Service\ServiceImplementation\ActionService.cs'


So what am i doing wrong?

Any advice would be appreciated. If code or further explanation is needed, let me know :).

Cheers,

Greg.
Greg Sagan, Nov 28, 2012
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.