Microsoft
70-519 · Question #221
You are adding functionality to an ASP.NET MVC 2 Web application. You have the following requirements when passing form data to the server: - Provide a simple way to map posted form values to a…
The correct answer is A. Implement model binding. See the full explanation below for the reasoning.
Question
You are adding functionality to an ASP.NET MVC 2 Web application. You have the following requirements when passing form data to the server:
- Provide a simple way to map posted form values to a custom class
object.
- Control the deserialization of custom class objects that are passed
to the server. You need to design the application to meet the requirements. Which approach should you recommend?
Options
- AImplement model binding.
- BUse ASP.NET Dynamic Data.
- CImplement AJAX data templates.
- DUse a built-in HtmlHelper extension method.
How the community answered
(34 responses)- A82% (28)
- B9% (3)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.