Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am using using Visual Studio 2013 and I have created code Templates and copied all the templates from C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Web\Mvc\Scaffolding\Templates

I want to customize the scaffold item for controller- MVC5 Controller with views,using Entity Framework. How do I check which one of the templates in code templates folder corresponds to this

share|improve this question

1 Answer 1

Have you installed MvcScaffolding ? If not, just type the following at your Package Manage Console:

Install-Package MvcScaffolding

You can customize pretty much everything, if you type the command below you are going to be able to customize your controller:

Scaffold CustomTemplate Controller ControllerWithRepository

A new folder will came up on your solution, check the image below:

enter image description here

To see the whole list of scaffolders available, just type:

Get-Scaffolder
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.