Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Dynamic Data PRO and CONS

I heard about ASP.NET Dynamic Data in ASP.NET 4.

I would like to know if you have implemented in real scenario web application and your opinions, specially in terms of customization.

Some questions:

  • Can I Use custom logic to validate Fields?
  • Is it possible add logic when User press for example a DELETE button for a specific Table?

As at a first look, it seems very easy build Scaffolding but any Cons?

Thanks for your time! Regards

like image 915
GibboK Avatar asked Feb 02 '11 12:02

GibboK


People also ask

Is ASP.NET used for dynamic website?

Web Forms. With ASP.NET Web Forms, you can build dynamic websites using a familiar drag-and-drop, event-driven model.

Is ASP.NET server side?

ASP and ASP.NET are server side technologies. Both technologies enable computer code to be executed by an Internet server. When a browser requests an ASP or ASP.NET file, the ASP engine reads the file, executes any code in the file, and returns the result to the browser.


1 Answers

I've mostly used Dynamic Data to create "developer only" back-end admin tools, where I need to access the database directly. For that purpose it's very convenient and extremely fast to use.

MSDN has several articles on customizing Dynamic Data: ASP.NET Dynamic Data Layer Customization: Validating Data Fields. I'm sure it's flexible enough to meet your requirements.

As for pros and cons, it really depends on what you're building. Implementing custom designs and functionality can end up taking just as long as it would've implementing the project from scratch (regardless of what scaffolding framework you use). So if your project is a basic data entry app, go with Dynamic Data. If it's customer-facing site, I think you're probably better off using ASP.NET Webforms or MVC. But that said, DD is still very handy for just accessing the data from a browser.

like image 128
Jakob Gade Avatar answered Sep 28 '22 04:09

Jakob Gade