This template is designed for generating an ASP.NET MVC controller with data access code. This template is available in C#.
This template is used together with the Repository and Unit of Work Template. When they are used together, the Generic Repository Pattern property of the Repository and Unit of Work template must be set to True.
Description
Description of the template.
Enabled
Indicates whether the template is enabled. Acceptable values are True or False.
File Name
The name of the template file.
Name
The name of the template.
Type
The type of the template.
Namespace
Specifies the namespace for the generated controller classes.
Version
Determines ASP.NET MVC version to generate code for: ASP.NET MVC or ASP.NET Core MVC.
Output
Specifies the output for the generated controller classes.
Project
(This property is available in the Visual Studio add-in only) The name of the Visual Studio project where the generation result will be located.
Project Folder
(This property is available in the Visual Studio add-in only) The name of the directory in the Visual Studio project where the generation result will be located.
Destination Folder
(This property is available in the standalone application only) The directory to contain the generation results.