Creating Your Own "TempBag" in ASP.NET MVC
Some time back during one of my training programs I was asked this question by a beginner in ASP.NET MVC - "Can we have TempBag wrapper for TempData just as we have ViewBag for ViewData?" Whether such a wrapper is needed is not is a different question but if you wish you can create one using dynamic objects of C# language. Here I am going to show a quick way to wrap TempData into our own TempBag and then using it in the controller and view.
http://www.binaryintellect.net/articles/bc422c95-02cc-4d05-9c5c-fa89d0e78cc0.aspx