Introduction: In this article i am going to explain the use of ViewBag, ViewData and TempData to pass data from controller to view to render a response back to a client in Asp.net MVC.
Description: In previous articles i explained What is ViewBag, ViewData and TempData and What is Asp.Net MVC? Its work flow,goals and advantages and Difference between Asp.Net Webforms and Asp.Net MVC and MVC 4 application to Create,Read,Update,Delete and Search functionality using Razor view engine and Entity Framework
Implementation: Hope you have read my previous article explaining ViewBag, ViewData and TempData (Link given in description section above). So we can move further with the practical implementation to understand their use.