nacho10f
nacho10f

Reputation: 5896

DTOs in a WCF Web Api project

Ive been reading on some best practices for exposing Data over WCF Web Api and in many places it seems to be recommended not to use Domain Entities to expose your data but to use DTO for this.

What I cant find is a sample on the web on how to approach doing this.

Where can I find some documentation/samples on this?

whats your take on this approach?

Please help.

Upvotes: 0

Views: 455

Answers (1)

Andreas
Andreas

Reputation: 6475

I like Samuel Meachan's approach.

Upvotes: 1

Related Questions