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
|
From a different thread:
This brings me to the next question, in which Q this year (or another) can we expect LightSpeed 5.0? Is there any roadmap? For example, I wonder about integration with ApiController in MVC, but I am sure other people have other curiosities for this release. Cheers, Dennis |
|
|
I'm using it now in production with MVC4 and Web API (ApiController). I'm just using a per request unit of work and making a few LightSpeed calls. Is there something more elegant (er, more complicated?) I'm missing? Yes -- LightSpeed auto model binding and validation error reporting in general is a little awkward whether MVC or MVC Web API. Sample code has been posted here in a few places, and they cleaned up some of the error reporting and localization issues in recent builds. But I'm of the camp that database models should never be used directly in Views, because it's difficult to secure the auto-binding. So I mark up ViewModels with all the chaotic binding and validation flags and leave the database models alone. |
|