1.2.2 • Published 7 years ago
aspnet-scaffolder v1.2.2
aspnet-scaffolder
Lightweight ASP.NET Model & View & Controller scaffolding tool
NPM link: https://www.npmjs.com/package/aspnet-scaffolder
Installation:
Install the package globally:
npm install aspnet-scaffolder -g
Usage:
Call the script with the name of your model:
aspnet-scaffolder Person
This tool doesn't verify that your model exists before creating it, so don't overwrite accidentally!
The output will be:
-Models
----Person.cs
-Views
----Person
--------Create.cshtml
--------Delete.cshtml
--------Details.cshtml
--------Edit.cshtml
--------Index.cshtml
-Controllers
----PersonController.cs