Which approach should you recommend?
Correct Answer for the following Question is given below
You are designing an ASP.NET MVC 2 Web application.You have the following requirements:- Type safety must be validated at compile time.- Code must not require explicit run-time type casting.You need to pass data between the controllers and the views within the Web application.Which approach should you recommend?
Question:
Which approach should you recommend?
Options:
Use the ViewDataDictionary class.
Use the TempDataDictionary class.
Use strongly typed view model classes.
Use dynamic object view model classes.
Correct Answer
The Correct Answer for this Question is
Use strongly typed view model classes.
Explanation
The Question – Which approach should you recommend? has been answered correctly and answers for the question is Use strongly typed view model classes.
More about these Exams
These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.
We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.
you can find more here at mnccertified
Feel free to contact via comment or email.
Happy Learning
Cheers, Team MNCcertified