Add a new custom T4 template in the Add New Controller dialog box under Forest Settings

I want to implement new T4 templates that should appear under the Scaffold options in the Add New Controller dialog box.

I tried to add a new View tt template. I was able to add it. I need a link where I can get basic information on how to create a new controller template, and not modify an existing one.

Thanks Patil

+4
source share
1 answer

Have you watched MVCScaffolding? http://nuget.org/packages/MVCScaffolding/

You can easily override the t4 controller template with MVCScaffolding: http://blog.stevensanderson.com/2011/04/06/mvcscaffolding-overriding-the-t4-templates/

0
source

All Articles