Vignesh Mani
What are the state management technique in MVC?
By Vignesh Mani in ASP.NET on Feb 16 2016
  • Vignesh Mani
    Feb, 2016 16

    1. Session 2. TempData 3. ViewBag 4.ViewData

    • 2
  • Senthil Kumar
    Aug, 2018 9

    There are several ways to do this in ASP.NET MVC Hidden Field Cookies Query String ViewData ViewBag TempData

    • 0
  • Senthil Kumar
    Aug, 2018 9

    T here are several ways to do this in ASP.NET MVC Hidden Field Cookies Query String ViewData ViewBag TempData

    • 0
  • Udaya Kumar
    Apr, 2018 20

    ASP.NET MVC offers us three options ViewData, VieBag and TempData for passing data from controller to view and in next request. ViewData and ViewBag are almost similar and TempData performs additional responsibility public ActionResult Index() {ViewBag.Name = "Monjurul Habib";return View(); } public ActionResult Index() {ViewData["Name"] = "Monjurul Habib";return View(); } @ViewBag.Name @ViewData["Name"]

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS