Skip to content

TempData In ASP.NET

2 posts2 contributors

+ FollowBe the first to follow this
Write about it

Articles about TempData In ASP.NET

  1. Learn About ViewData, ViewBag And TempData In ASP.NET MVC

    In this article, you will learn about ViewData, ViewBag and TempData in ASP.NET MVC.

    Farhan AhmedFarhan Ahmed29,8911,000
  2. How To Use TempData In ASP.NET

    Tempdata is another beautiful feature in ASP.Net MVC. We use TempData just like we use ViewData. We’ve already discussed a lot about ViewBag and ViewData stuff. TempData is a container in which we maintain the state in consecutive request. TempData is used to store the temporary data. It is using session under the hood. But it is not exactly a session. It automatically clears in application but we need to explicitly clear our session variables. TempData is actually the TempDataDictionary type.

    Usama ShahidUsama Shahid152,7911,000