3 "Description": "Generates a controller.",
9 "Name": "controllerName",
11 "Description": "Name of the controller"
14 "Name": "useAsyncActions",
16 "Description": "Switch to indicate whether to generate async controller actions"
21 "Description": "Switch to indicate whether to generate CRUD views"
24 "Name": "restWithNoViews",
26 "Description": "Specify this switch to generate a Controller with REST style API, noViews is assumed and any view related options are ignored"
29 "Name": "readWriteActions",
30 "ShortName": "actions",
31 "Description": "Specify this switch to generate Controller with read/write actions when a Model class is not used"
36 "Description": "Model class to use"
39 "Name": "dataContext",
41 "Description": "DbContext class to use"
44 "Name": "referenceScriptLibraries",
45 "ShortName": "scripts",
46 "Description": "Switch to specify whether to reference script libraries in the generated views"
51 "Description": "Custom Layout page to use"
54 "Name": "useDefaultLayout",
56 "Description": "Switch to specify that default layout should be used for the views"
61 "Description": "Use this option to overwrite existing files"
64 "Name": "relativeFolderPath",
65 "ShortName": "outDir",
66 "Description": "Specify the relative output folder path from project where the file needs to be generated, if not specified, file will be generated in the project folder"
69 "Name": "controllerNamespace",
70 "ShortName": "namespace",
71 "Description": "Specify the name of the namespace to use for the generated controller"