TempData from Global ASAX
Can someone post a sample code on how I can access the TempData dictionary object from wi开发者_如何转开发thin the Global.asax.cs?
Dictionary<string, object> tempDataDictionary = HttpContext.Current.Session["__ControllerTempData"] as Dictionary<string, object>;
精彩评论