Microsoft
70-519 · Question #54
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…
The correct answer is C. 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 AJAX data templates.
- BUse ASP.NET Dynamic Data.
- CImplement model binding.
- DUse a built-in HtmlHelper extension method.
How the community answered
(31 responses)- A6% (2)
- B16% (5)
- C74% (23)
- D3% (1)
Community Discussion
No community discussion yet for this question.