[Demo Code] ASP.NET Dynamic Data Demo
I've just posted the ASP.NET Dynamic Data website I usually build when I do a Dynamic Data demo. You can download the source for it here. The demo site illustrates a few features of ASP.NET Dynamic Data:
- Scaffolding of my Houses database using Linq to Sql as the model
- ScaffoldAllTables is set to true but I prevent scaffolding of the HomeTypes table with the [ScaffoldTable] attribute
- Customisation of the model including validation, UI, business rule etc
- See ModelCustomisations.cs
- Customisation of Pages
- [Global] All Edit pages have been customised (not much - just to show the principle)
- [Individual] The List view of the Homes table has been customised
- Customisation of Fields
- [Global] All boolean fields have been customised with custom icons
- [Individual] The ImageUrl, Lat and Lon fields have all been customised
Please read the notes on the download page as they explain the requirements (Ajax Control Toolkit and a suitable DB - a script is included if you want to recreate my DB).
Technorati Tags: asp.networking,dynamic data,linq
Comments
- Anonymous
November 10, 2008
PingBack from http://blogs.msdn.com/mikeormond/archive/2008/11/11/demo-code-asp-net-dynamic-data-demo.aspx