Qus:    What are dynamic views?
Nov 23, 2020 20:53 DotNet 2 Answers Views: 1432 KRISHNA SWAROOP

 



Views that don’t declare a model type using @model but that have a model instance passed to them (for example, return View(Address)) can reference the instance’s properties dynamically. The feature offers flexibility, but it doesn’t offer compilation protection or IntelliSense. If the property doesn’t exist, then webpage generation fails at run-time.

Prev Next
Answers (2)
PARTH Nov 24, 2020 14:20
Answer:   Dynamic view is one which removes the need for a View Model data object. These views are just concerned about displaying data/information.

SAI Nov 24, 2020 14:37
Answer:   Views that don’t declare a model type using @model but that have a model instance passed to them (for example, return View(Address)) can reference the instance’s properties dynamically. The feature offers flexibility, but it doesn’t offer compilation protection or IntelliSense. If the property doesn’t exist, then webpage generation fails at run-time.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect