Microsoft
70-519 · Question #93
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 A. 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 Session state.
- BUse a Substitution control and enable Session state.
- CUse a Substitution control and enable ViewState.
- DDesign a view user control and enable ViewState.
How the community answered
(26 responses)- A77% (20)
- B8% (2)
- C4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.