What is tempdata in mvc?



What is tempdata in mvc?..

Answer / Pallavi Singh

TempData is a feature in ASP.NET MVC that allows you to pass data between actions, typically for a single request-response cycle. Unlike ViewData and ViewBag, TempData stores data as Session variables, which means it persists beyond a single action execution.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MVC Model View Controller Interview Questions

What is html beginform in mvc?

1 Answers  


What is mvc programming?

1 Answers  


what are the benefits of area in mvc?

1 Answers  


Why filters are used in mvc?

1 Answers  


What is difference between MVC and MVP ?

1 Answers   PUCIT,


List out a few different return types of a controller action method?

1 Answers  


What is mvc authorize?

1 Answers  


What is html helpers in mvc?

1 Answers  


What is code blocks in views?

1 Answers  


What is mvc in detail?

1 Answers  


What are the exception filters in mvc?

1 Answers  


Is angular mvvm or mvc?

1 Answers  


Categories