I love the functionality that you get with ASP.net Dynamic Data web applications. I love the power and control you get from the MVC framework. Does anyone have T4 templates for MVC that replicate ASP.net Dynamic Data functionality?
Asked
Active
Viewed 798 times
2
-
Did you remake Dynamic Data in T4 yet? :) I was more interested in having the nice hierarchy structure to the templates than any specific functionality. – Benjamin Feb 21 '12 at 21:44
-
Benjamin, I ended up writing a custom code generator for MVC. It generates controllers and views. This adds filters for parent keys and add adds links to view child keys. It is a huge time saver and helps with consistency and accuracy. – Tarzan Feb 22 '12 at 17:42
1 Answers
2
I am a fan of MvcScaffolding ( http://blog.stevensanderson.com/2011/01/13/scaffold-your-aspnet-mvc-3-project-with-the-mvcscaffolding-package/ ) with which you can generate everything such as controllers, views, and so on based on data defined on edmx file. Beauty of the package is also that you can customize all the generation of code.

Tae-Sung Shin
- 20,215
- 33
- 138
- 240
-
This gets a +1 since the part about 1 to Many relationships comes close the the Dynamic Data functionality, but still leaves a lot to be done. – Tarzan Aug 04 '11 at 15:31