Microsoft
70-519 · Question #208
You are designing an ASP.NET MVC 2 Web application that will contain reusable markup. The Web application must read data from the TempData dictionary. You need to recommend a solution that allows…
The correct answer is C. Design a view user control and enable Session state. See the full explanation below for the reasoning.
Question
You are designing an ASP.NET MVC 2 Web application that will contain reusable markup. The Web application must read data from the TempData dictionary. You need to recommend a solution that allows the Web application to pass data between pages by using the TempData dictionary. What should you recommend?
Options
- ADesign a view user control and enable ViewState.
- BUse a Substitution control and enable Session state.
- CDesign a view user control and enable Session state.
- DUse a Substitution control and enable ViewState.
How the community answered
(22 responses)- A9% (2)
- B5% (1)
- C82% (18)
- D5% (1)
Community Discussion
No community discussion yet for this question.