摘要:
这个问题让我想起上个去面试的时候,他们公司的技术总监问的我的那个问题,跟这个类似,只是当时不是很清楚,今天碰到了,好好总结一下。先看老外写的文章:《pro ASP.NET MVC3》中:This is a key/value dictionary, similar to the session data and View Bag features we have used previously.The key difference is that TempData is deleted at the end of the HTTP requestWe can’t use ViewBag in 阅读全文