Microsoft
70-519 · Question #249
You are designing an ASP.NET MVC 2 Web application. The view content will be composed of user controls. You have the following requirements: - Deliver content that is provided by user controls to…
The correct answer is B. Use the Html. Render Action extension method. See the full explanation below for the reasoning.
Question
You are designing an ASP.NET MVC 2 Web application. The view content will be composed of user controls. You have the following requirements:
- Deliver content that is provided by user controls to the browser.
- Select the appropriate user controls to render within the controller.
You need to ensure that your design meets the requirements. Which approach should you recommend?
Options
- AUse the Html. Render Partial extension method.
- BUse the Html. Render Action extension method.
- CUse the Partial View Result class.
- DUse the Content Result class.
How the community answered
(34 responses)- A3% (1)
- B76% (26)
- C6% (2)
- D15% (5)
Community Discussion
No community discussion yet for this question.