etechpartner wrote:
Whats the current recommended usage for LLBLGen when working with Web Svs. ( Microsoft Web API or ServiceStack based REST service)
Hi Thomas. That are three different things: WCF WebServices, WebApi and REST (which can be seen as a behavior endpoint of WCF).
LLBLGen can work with all of them with the built-in Entity classes. The link you posted, for instance, mention how to make them work with WebApi.
etechpartner wrote:
- Is there a recommended template one can use to produce DTO's?
There is no "DTO's official templates", but a user kindly posted his own implementation, see http://llblgen.com/TinyForum/Messages.aspx?ThreadID=13256
You can write your own, of course.
etechpartner wrote:
- I saw Frans blog post of producing Entities that serialize to JSON - is there an advantage to going that route over DTO's?
The advantage is that you don't have to write and maintain your DTO's classes. It works for Entity classes right away.