Using scaffolding
Scaffolding is one of the most beneficial features for developers in VS. By using scaffolding, we can save time generating code automatically by just clicking on some options.
It’s indispensable to clarify that scaffolding is a popular concept in software development, and this is not unique to VS. Normally, scaffolding is associated with the code generation of model view controller (MVC) components. MVC is a popular pattern for creating web applications. Using MVC, you must distribute the responsibilities for creating web applications into three different components:
- Model: Responsible for saving the data
- View: The interface that interacts with the user
- Controller: In charge of handling all the actions performed by the user in the view
Let’s make use of this feature by opening the initial project called Chapter6_Code_Web
, which you can find in the repository of the Technical requirements section. To use scaffolding in VS, you...