Scaffold Controller with Views

Learn how to scaffold a controller with views by using Visual Studio 2019.

We'll cover the following

The advantage to scaffold a controller with views is that the compiler will automatically take care of most of the boilerplate code for you. That code could then be modified to fit your requirements.


To scaffold, go to the Solution Explorer on Visual Studio. Right-click on the Controllers folder and Add > New Scaffolded Item.

Get hands-on with 1200+ tech skills courses.