Dealing with DTOs in Queryable actions


Based on this great article

I have more input for the team wrt real world application architecture.

What we really need for a real world usage of Web API & Queryable is an article/docs & sample on how to use Queryable with DTOs (data transfer objects) in a Web API and not the internal entities.

What works, what not – what are the limits, etc.
Closed Dec 12, 2013 at 1:02 AM by yishaigalatzer


HongmeiG wrote Mar 30, 2013 at 1:21 AM

see more context at issue 764

danroth27 wrote Oct 3, 2013 at 11:21 PM

We are working on type, property and namespace aliasing in the model builder. For full DTO we think tools like AutoMapper may help.

yishaigalatzer wrote Dec 12, 2013 at 1:02 AM

This got fixed with the model aliasing feature. You should see this soon on 5.2 Preview