Microsoft
70-519 · Question #20
You need to design the application to support the news feature. Which approach should you recommend?
The correct answer is C. Use a custom ActionResult class and return the output stream as the return value. See the full explanation below for the reasoning.
Question
You need to design the application to support the news feature. Which approach should you recommend?
Options
- AUse the FileResult class and return the result as a plain text file.
- BUse the ViewResult class and bind the items to an HTML.TextArea HTML Helper.
- CUse a custom ActionResult class and return the output stream as the return value.
- DUse a custom ActionResult class and bind the items to an HTML.TextArea HTML Helper.
How the community answered
(67 responses)- A7% (5)
- B18% (12)
- C70% (47)
- D4% (3)
Community Discussion
No community discussion yet for this question.