Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » Howto » Revisions
 
Add your own
alternative version

What is ViewData, ViewBag and TempData? – MVC options for passing data between current and subsequent request

, 15 Oct 2012
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. Lets discuss or get key points on those three objects: Similarities bet

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 15-Oct-12 14:34 Available Monjurul Habib
Updates in content. 70 changes had been made.
1 No 15-Oct-12 11:39 Draft Monjurul Habib

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Monjurul Habib
Software Developer (Senior)
Bangladesh Bangladesh
A life-long-learner, maker and soft music fan. Likes building things to solve problems. Lives in Dhaka with wife and wonderful, smart kid and works as a Senior Software Engineer in applications architecture team.
 
He has years of successful records serving mid and large scale .NET applications. Have a wide range of experience working in domestic and international client environment. Expertise in different areas of software development life cycles and Software Architecture.
 
I am always looking for new information and value your feedback (especially where I got something wrong!).
Follow on   Twitter   Google+   LinkedIn

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 15 Oct 2012
Article Copyright 2012 by Monjurul Habib
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid