This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am looking into moving to ServiceStack for our services role for several reasons, but amongst them being the ease of use in PCL libraries for Android and iOS. But our database has hundreds of tables with thousands of columns. Has anyone any experience of working with ServiceStack? If so, did you hand roll your Contract DTO's or did you find a simple way to automatically generate them? Ideally I would like to have the DTO's in a single separate project that I could include in a PCL, so it can be used across all platforms. |
|
|
Can I presume from the lack of response that no one has used Lightspeed with ServiceStack. Is there a technical reason for why they cannot be used together? Or is ServiceStack just not a preferred solution? |
|
|
Hi MarkLFT, sorry for the late reply as I don't often browse the LightSpeed forums. I use ServiceStack + LightSpeed ORM at work for a good couple of years now and it's been working well so far :) I don't export the data model / DAO / LightSpeed entities directly into DTOs, but having them separate (i.e. hand-roll) and use a mapper class instead to bridge them instead. I'm going down this path for two main reasons: better control over generating complex DTOs and enabling PCL support. BTW, if you're using ServiceStack authentication, have a look at https://github.com/hhandoko/ServiceStack.Authentication.LightSpeed. I'm keen to get some feedback on it. |
|