What are Scaffold templates?

beingchinmay

New member
Joined
Jan 15, 2016
Messages
6
Points
0
These templates use the Visual Studio T4 templating system to generate a view based on the model type selected. Scaffolding in ASP.NET MVC can generate the boilerplate code we need to create, read, update, and delete (CRUD) functionality in an application. The scaffolding templates can examine the type definition for it then generate a controller and the controller's associated views. The scaffolding knows how to name controllers, how to name views, what code needs to go to each component, and where to place all these pieces in the project for the application to work.
 

Localnode

Member
Joined
Dec 15, 2015
Messages
96
Points
18
The term "scaffolding" is used by a lot of software technologies to allows you to quickly generate a general outline of your software that you can then edit and customise to your needs. In MVC the saccolfding feature provides the user with autogenerated Views, Controllers, Database(s), and more. It only gives a basic layout, but with that basic layout you can customise your app. Instead of starting the application development from scratch.
 

rfharris

Member
Joined
Mar 15, 2016
Messages
48
Points
8
This is the first time I am hearing anything about this thing. Can you please share some examples of these templates or any live websites which are made using such templates. These templates are best for which kind of websites?
 
Latest threads
Replies
0
Views
25
Replies
0
Views
29
Replies
1
Views
38
Replies
3
Views
94
Recommended threads
Replies
0
Views
1,743
Replies
0
Views
3,696
Replies
5
Views
1,708
Similar threads
Replies
3
Views
1,885
Replies
0
Views
2,891
Replies
0
Views
7,406
Top