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.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)