Limitations of using advantages of DD in web form App RRS feed

  • Question

  • User539648229 posted


    I read in one of tutorials that in a ordinary web form app it is possible to use advantages of DD with using DynamicControl and DynamicField in GridView. Is it possible to change field template? what limitation exists in using DD in ordinary web form?


    Sunday, March 31, 2013 4:15 AM

All replies

  • User-183374066 posted

    if you only need CRUD actions like a simple data entry application then its perfect, but if you know that you’ll need to extend or implement complex logic I would suggest that you use standard Asp.Net web forms or MVC as it will ultimately be quicker and easier for you to develop and test.

    Read: http://designcoderelease.blogspot.com/2010/05/aspnet-dynamic-data-should-you-use-it.html

    Dynamic Data Limitations in ASP.NET

    I recently completed a small, yet robust Dynamic Data website in ASP.NET 4.0. Going through the whole process, I can't say I recommend a Dynamic Data solution.


    • You can get a site up and running very quickly. 
    • Many concepts like routing are used in other places such as MVC, so learning the ins and outs of Dynamic Data doesn't waste too much time. 
    • It works well with the Entity Framework. 
    • The code generation is pretty well done. I wouldn't say it is typical of what I would think of with regards to previous code generation products and that's a good thing.


    • Your data needs to be normalized to a fault. Column names needs special ordering (if you want it to work without having to extend everything). This isn't always possible, especially if data is only loosely related. Nothing happens in a vacuum. In a typical shop data will be coming from more than one data source (SQL Server, DB2, MySQL, etc) and trying to get Dynamic Data to work well with all of them in tandem will cause more problems than not.
    • There is simply not enough comprehensive documentation. There's only one bloggerhttp://csharpbits.notaclue.net/ out there who has taken the reigns on a technology Microsoft seems to have forgotten. I have to give the guy props for really making it work. 
    • Little things, like column order and adding a dropdownlist with static, non-relational data can become a very complicated process.

    The bottom line is that things that should be easy become difficult, very quickly and I would be very hesitant handing a Dynamic Data solution to an entry level developer. And honestly, I can't say I'd look foward to working on another Dynamic Data solution.</div>


    and http://stackoverflow.com/questions/681480/where-are-the-asp-net-dynamic-data-limits

    Monday, April 1, 2013 11:51 AM
  • User539648229 posted


    I studied your reply and the linkds you provided. It seems you are an internet robot because your reply was just copy and paste of them. thank you anyway. there is some point that I must mention:

    • My question was about limitation of DD in an standard web form not DD inself.
    • You said that 'Column names needs special ordering'. It is possible to control ordering of columns with Display attribute.
    • About documention: There is an excelent book  'ASP.NET Dynamic Data' by Oleg Sych but I know the resources about this technology is not enough and what it deserves. I hope in future we see more in depth tutorials and vedios about this technology.


    Tuesday, April 2, 2013 10:11 AM