How can I improve and build a basic Dynamic Data project for forests?

Once you create a basic, scaffolding dynamic data generated project, there is much more you can do to tweak and improve the project, evolving towards a custom built custom application that benefits from a robust infrastructure.

You can add metadata for forest tables, customize standard list and detail pages, customize template controls, and more.

What else can you do?

+2


source to share


1 answer


Probably the two biggest subjects I can think of are the following:

  • You can change / define your own metadata provider.

http://mattberseth.com/blog/2008/08/dynamic_data_and_custom_metada.html - Names all columns with a space between words ... Yes, you can use the DisplayName attribute, but this is an example of how to improve a basic scaffolding design.

  • You can create your own attributes.

http://csharpbits.notaclue.net/2009/04/hiding-foreign-key-column-globally-in.html - An example of creating an attribute to hide a foreign key column for all tables.

http://csharpbits.notaclue.net/2008/10/dynamic-data-hiding-columns-in-selected.html - A sample of another attribute to hide a column, but applied at the page level.

After that, to prepare DD for the real world, you can:



Level:

http://weblogs.asp.net/craigshoemaker/archive/tags/Dynamic+Data/default.aspx

Mix it with web forms using MVC ... http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=14473 See Samples. Also the examples use stored procedures with it.

Use AJAX and / or JQuery .....

These are not specific DD modifications, but are likely necessary for real-world readiness.

Here's a link that might help as well: http://blogs.msdn.com/rickandy/archive/2009/01/08/dynamic-data-faq.aspx

+2


source







All Articles