Number of questions 1,751
Number of tests completed 250,177
Number of questions answered 3,739,532
Number of registered users 19,109
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: 6616
Incorrectly answered: 4733
Terms of Use
contact@quiznetonline.com Ver. 2.0.6783.38332