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.

STW
  • 44,917
  • 17
  • 105
  • 161

2 Answers2

7

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

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
  • 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 :-D – STW Nov 05 '10 at 16:58
  • 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! – STW Oct 11 '11 at 22:27
2

http://whocanhelpme.codeplex.com/

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

queen3
  • 15,333
  • 8
  • 64
  • 119