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

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

, 15 Oct 2012 CPOL
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

Statistics


License

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

Share

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 | Terms of Use | Mobile
Web01 | 2.8.1411023.1 | Last Updated 15 Oct 2012
Article Copyright 2012 by Monjurul Habib
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid