T4 Controller Template to trigger View Generation

Posted by DrydenMaker on Stack Overflow See other posts from Stack Overflow or by DrydenMaker
Published on 2009-11-17T17:08:10Z Indexed on 2010/04/03 4:43 UTC
Read the original article Hit count: 293

Filed under:
|
|

I have been using some customized MVC templates that really improve my productivity. However, I would like to take it to the next level.

I generate a controller template for each table in my app. The controller has Edit, List, Details, and Delete actions. What I would like to do, is at the same time trigger the generation of the views for those actions.

Does anyone have a reference or have suggestions on how this can be done?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc