By default ASP.NET Dynamic Data projects provide built-in support for creating automatic "scaffolding" views of your LINQ to SQL and LINQ to
Entities data models. Dynamic Data projects include template pages and
user controls that can automatically create built-in data
browsing/editing/selection/deleting UI that is dynamically constructed at
runtime based on the LINQ to SQL or LINQ to Entities data model you've added to
your project.
To enable this auto-scaffolding support, open the web.config
file of your project, search for the "dynamicData" section within it,
and set the "enableTemplates" attribute to "true":
Figure 5
Note: this auto-scaffolding feature is
currently turned off by default for security reasons (we want you to be
explicit about turning it on).
Note: as you can see above, the ASP.NET
dynamic data section provides optional URL mapping support that allows you to
customize the URLs for your dynamic scaffold pages to be in whatever URL format
you want.