O'Reilly logo

Bootstrap for ASP.NET MVC by Pieter van der Westhuizen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a custom scaffolder extension

If you need more control on how the code for your views or controllers is scaffolded, you need to create a new scaffolding extension for Visual Studio. This extensibility enables developers to add their own scaffolding items to the Add Scaffold dialog window, as illustrated in the following screenshot:

Creating a custom scaffolder extension

To create such a custom scaffolder, we'll create a new basic scaffolder project. This project template is installed by the SideWaffle extension and adds all the files necessary to create a custom scaffolder.

Perform the following steps to create your own custom scaffolder project:

  1. Create a new project inside Visual ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required