Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
What is automatic scaffolding?? How does it help???
Posted 9-Jan-13 21:35pm
Tejal S1.9K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1


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[^].
Comments
Member 9725940 at 10-Jan-13 4:04am
   
Thank u :)
Tadit Dash at 10-Jan-13 4:44am
   
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)



Advertise | Privacy | Mobile
Web03 | 2.8.150129.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100