I have been developing with cakephp for several years and now I want to try asp.net mvc.
Cakephp has a bake plugin that allows you to create standard functions based on custom templates. For instance. modifying these templates to suit my needs
1) for the controller
https://github.com/cakephp/bake/blob/master/src/Template/Bake/Controller/controller.ctp https://github.com/cakephp/bake/blob/master/src/Template/Bake/Element /Controller/index.ctp https://github.com/cakephp/bake/blob/master/src/Template/Bake/Element/Controller/add.ctp
2) for the model file
https://github.com/cakephp/bake/blob/master/src/Template/Bake/Model/table.ctp
3) for view files
https://github.com/cakephp/bake/blob/master/src/Template/Bake/Template/index.ctp https://github.com/cakephp/bake/blob/master/src/Template/Bake/Element /form.ctp
I could run a command from the CLI and get a full functional check, controller files with actions and view files - based on existing table structures and the relationships between them. The plugin will create the actual php files in the corresponding directories with the contents according to the template files. Preset baking patterns allow you to generate CRUD or any other custom functionality in minutes.
Is there any similar functionality in asp.net mvc (v5 or higher)? The desired features are to fully customize the templates that will be used to create the controllers, cshtml files and model files - if we already have tables with foreign key associations in the database. (Preferably free, but not required)
thanks
I think this link can help you with templates in visual studio. If you want to use the command line, perhaps yeoman can help you. See this link to find out if this will work for you.
yeoman
Source: https://habr.com/ru/post/1257926/More articles:Python XOR Fast Algorithm - algorithmSpeed ββup Python2 loops with XOR - performancepython: encode list of list and assign value inside loop - pythonHow to get Java 9 to use higher resolution images on a HiDPI display? - javaHow to get multiple columns in a single SQL CASE expression? - sqlTesting image loading using jsdom, sinon, mocha and chai - javascriptTelegram API bot API - apiInvalid icon used as default icon after loading icons from RES file - controlsGet a list of items by checking multiple attribute values ββin MongoDB in golang - jsonNewtonsoft.Json parsing invalid json - jsonAll Articles