Number of questions 1,751
Number of tests completed 248,329
Number of questions answered 3,716,072
Number of registered users 19,034
Sign In | Register
Skip Navigation Links
Question: _______ dictionary is used to share data between controller actions
Answer1: Session
Answer2: ViewData
Answer3: ViewBag
Answer4: TempData
Answer5:
Answer: TempData

Explaination: Simply said, ASP.NET MVC TempData dictionary is used to share data between controller actions. The value of TempData persists until it is read or until the current user’s session times out. Persisting data in TempData is useful in scenarios such as redirection, when values are needed beyond a single request. By default, the TempData saves its content to the session state.
Link: External Explaination

Correctly answered: 6160
Incorrectly answered: 4405
Terms of Use
contact@quiznetonline.com Ver. 2.0.6783.38332