entity-frameworkasp.net-mvc-2asp.net-mvc-3scaffoldinglightspeed

MVC3 app architecture - how to store data


Goals:

where I already have a database

Question: What is your current toolchain of choice for this?

I've spiked out:

MvcScaffolding - http://blog.stevensanderson.com/2011/01/13/scaffold-your-aspnet-mvc-3-project-with-the-mvcscaffolding-package/

However this needs EF CTP5 if you use a model first strategy

Couldn't figure out how to get Validation (DataAnnotations) easily from the model eg a [Required] field

EF Model First - again DataAnnotations seemed hard. Entity Framework - DataAnnotations

LightSpeed - http://www.mindscapehq.com/ Current ORM of choice.


Solution

  • Here's my toolchain:

    I also built a sample project structure using those frameworks.