Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is automatic scaffolding?? How does it help???
Posted

1 solution


Scaffolding refers to the Dynamic Data elements that automatically generate Web pages for each table in a database. These auto-generated Web pages provide create, read, update and delete (CRUD) operations for each table. Scaffolding consists of page templates, entity page templates, field page templates, and filter templates. These templates enable you to quickly build a functional data-driven Web site.
An integral part of scaffolding is a data model that represents database entities as common language runtime (CLR) types. Dynamic Data uses metadata from the data model to create the UI for the Web application and to manage changes that are entered by the user.
The benefits of scaffolding are following:
Little or no code is required in order to create a data-driven Web application.
Functional pages are generated automatically and include database CRUD capabilities, sorting, and paging.
ASP.NET routing (URL routing) automatically handles requests. Dynamic Data infers the template and the table to use from the request URL.
Data validation is built in, based on the database schema.
Data filters are automatically created for foreign keys, Boolean fields, and enumeration field types.
Customization is easy to change the appearance and behavior of data fields.
Reference - ASP.NET Dynamic Data Scaffolding[^].

Go through Walkthrough: Creating a New Dynamic Data Web Site Using Scaffolding[^] to create a basic Web site that uses ASP.NET Dynamic Data.

Learn ASP.NET Dynamic Data Infrastructure[^].
 
Share this answer
 
Comments
Tejal S 10-Jan-13 4:04am    
Thank u :)
Anytime. My pleasure.
Thanks for accepting the answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900