Generally the term scaffold means a temporary platform that was set to build some thing.
For Example: Painters put some temporary arrangements with wood to paint the outside part of a building.
So as the term suggests these scaffold templates are used to generate code for the basic CRUD operations within our ASP.NET MVC application against our database with the help of entity framework.
Steps followed to create a scaffold template are:
Step1: we need to add a controller to our project first.
Step2: Choose the respective Scaffold template to perform CRUD operations
(Ex: In AddScaffold pop up add MVC5 controller with Read/Write actions)
Step3: Giving a decent name to our controller.
So now it generates the code for insert,update and delete operations
Asked In: Many Interviews |