---
title: "What is scaffolding in MVC?"  
description: "What is scaffolding in MVC?"  
author: "Anonymous User"  
published: 2020-02-17  
updated: 2020-02-17  
canonical: https://www.mindstick.com/forum/155824/what-is-scaffolding-in-mvc  
category: "asp.net mvc"  
tags: ["asp.net mvc"]  
reading_time: 3 minutes  

---

# What is scaffolding in MVC?

Please [briefly describe](https://www.mindstick.com/interview/22943/briefly-describe-android-application-architecture) what is [Scaffolding](https://www.mindstick.com/forum/155825/steps-to-create-mvc-crud-operation-using-scaffolding) in [asp.net MVC](https://www.mindstick.com/forum/155798/what-is-caching-in-asp-dot-net-mvc) with a suitable example along with an image.

## Replies

### Reply by Shrikant Mishra

Where the Scaffolding is a technique used by many MVC frameworks like ASP.NET MVC, Ruby on Rails, Cake PHP and Node.JS, etc., to generate code for basic CRUD (create, read, update, and delete) operations against your database effectively.

And second is Scaffolding consists of page templates, entity page templates, field page templates, and filter templates. Those templates are called Scaffold templates and allow you to quickly build a functional data-driven Website.

### Reply by Nishi Tiwari

Scaffolding is the feature of [ASP.NET](https://www.mindstick.com/articles/934/default-folders-available-inside-the-asp-dot-net-application-folder) that allows us to generate functional code rapidly and it is also known as the code generator framework also it is pre-installed in Visual Studio 2013 and higher version.

To create basic CRUD applications in MVC, scaffolding is the best choice to reduces the amount of time and generate clean code.

Scaffolding is a way of starting the **[model-view-controller (MVC) framework](https://www.mindstick.com/forum/155826/what-is-area-and-how-we-create-it-in-mvc)** development of CRUD operation. The Visual Studio's MVC Scaffolding uses templates to generate the routine code which is common to all ASP.Net MVC builds, like data access and Web API and it allows the developer to only concentrate on what is unique into the application. The Scaffolding was first made popular with Ruby on Rails and has been using since now.

![What is scaffolding in MVC?](https://www.mindstick.com/mindstickforums/9e8874d6-5812-4288-bad6-fe080d32a459/images/086feaea-f8f7-4eb7-9769-80e2db9e2938.jpeg)

The developers can work more productive using Scaffolding because they can [describe](https://www.mindstick.com/interview/12752/what-is-ddms-describe-some-of-its-capabilities) part of the solution, the Model, and the scaffolding system which will fill in the rest from a Data Access perspective. It means that there is a lot of work that we no longer have to

Since we are all busy and web applications have lots of moving pieces and we need to worry about their performance, security, scalability, and accessibility above on top of ensuring that it actually does what the end-user actually wants.

The users also have very high expectations for the web applications, they expect them to be fast, engaging, interactive, and responsive and also expect them to work on everything from the smallest smartphones to wide-screen high-definition desktops. You have to jump over all of these hurdles and still finish the race in an ever-decreasing time.

We care about the things that can be safely and reliably handle some of these complexities for us. Scaffolding does just the same. Using Scaffolding we don’t have to worry about wiring up to the database but still, we get a well-structured web application that still follows the MVC design pattern.

The Scaffolding templates are basically used for generating code for basic **CRUD operations within the ASP.NET MVC** applications against the database with the help of the Entity Framework.


---

Original Source: https://www.mindstick.com/forum/155824/what-is-scaffolding-in-mvc

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
