ViewModel Complex Tutorial
My Complex Forms suggestion for an article is really addressed by a comprehensive including complex scenarios like I wanted in the previous suggestion article on ViewModels. The Complex Forms suggestions can basically be addressed by ViewModels. However I cant find any good articles with step by step instructions and explanations like I found like this series for ASP.NET MVC4 with Entity Framework 5.0 which is VS2012 defaults:
Request for VM best practices, sample code.
Hey Rick, Where does one request the VM best practices sample code? Thanks.
Thanks for all your great stuff its really is a help. I am at a stage now where my application development has halted because I don't know how MVC handles collections of complex objects all brought together using a viewmodel. I can populate the viewmodel but when I post data back the viewmodel collections are always null. I've spent the last 2 days looking online to no avail. Can MVC actually use viewmodels that bring together numerous different objects and update them? A simple 1-1 mapping works fine using a viewmodel but collections seem to fail. Any help in this direction would be (selfishly) most appreciated!
This would be really helpful. The latest EF6 & MVC5 Tuts are great, but using these as a jumping off point to build my first 'real' project I find there is so much more I need to understand about viewModels, many-to-many, fluent api, etc. to accomplish half of what I need for this web app to actually be functional. It would be great to really go through start to finish (and in-depth) a full site using the the latest best practices for MVC5 & EF, etc.