Dynamic Data is a great way to expose your site to the web for easy administration.  It creates basic CRUD screens out of the box based on your database and foreign key constraints.

Create a new Dynamic Data Web Application

  • File New –> Project


Create a new folder named Model in the solution.

Add a new LINQ to SQL Class and name it something like “SomethingModel”.  Drag the necessary tables that you want to use with Dynamic Data.

There are two things you must do to get scaffolding hooked up.

Open up the Global.asax.cs and modify the following on line 29 with the new LINQ to SQL Class you created (SomethingModelDataContext).


Enable scaffolding for all tables


Then hit F5 and watch the magic happen!