Reference implementation of ASP.NET MVC using ViewModels, EditModels, and AutoMapper
Asked Answered
U

2

8

A simple question: is there a good reference implementation of using ASP.NET MVC with an ORM, ViewModels, and EditModels (ideally using Automapper)?

I understand the benefits of using these purpose-specific models, but haven't been too happy with the result of the code I've written to use these so far. A simple reference application showing how and where these aspects are applied in the MVC workflow would be great.

Uro answered 5/11, 2010 at 13:47 Comment(0)
E
7

Jimmy Bogard gave an excellent presentation at MVCConf which is worth checking out.

Endue answered 5/11, 2010 at 14:36 Comment(2)
watching it right now, and so far I have to say that it doesn't explicitly answer my question--but his code shows the answers when you look hard enough! I'm at 4x Post-It notes of timestamps with 20 minutes left :-DUro
Jimmy's "Controllers on a Diet" talk turned out to be about the best example I ever found--although his talk wasn't specifically about my question, his code and it's path of execution showed how it's done and turned out to be a very good reference. Thanks!Uro
B
2

http://whocanhelpme.codeplex.com/

Not sure if it's a reference implementation, but it tries to collect good ones.

Burghley answered 5/11, 2010 at 13:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.