Qus:    What are dynamic views?
Nov 23, 2020 14:53 2 Answers Views: 96 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 08: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 08: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 course is right for you?

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


Let`s Connect