R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is `TempData` used for in ASP.NET MVC?

  • (A) Persist data between requests
  • (B) Store long-term data
  • (C) Pass data from controller to view only
  • (D) Store data across sessions

Explanation by: Ram Sharma
`TempData` stores data temporarily and is available for the next request only.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.