Friday, May 2, 2014

Meaning of Scaffolding in MVC

Scaffolding in MVC

I was slightly confused with the meaning of Scaffolding in MVC. Fortunately, I confronted some very nice lines that I am sharing here so that it helps those who are not familiar with Scaffolding.

The term "Scaffolding" is used by many software technologies to mean "quickly generating a basic outline of your software that you can then edit and customize". Here in MVC 3, the scaffolding feature provides us auto-generated Views, Controllers, Database, Table script and so on. All those layers are generated based on the provided model. The fields which are required to be shown / hide in the view can be controlled by the [ScaffoldColumn] attribute. It only gives us the basic layout. With that basic layout, we can customize our apps. Instead of starting our application development from scratch, it gives us some deliverables with which we can design our application.



Cheers .Net Smile


Post a Comment