I'vm been trying to get a site running using ASP.NET MVC 3 and I came across the new dynamic ViewModel. It's great to pass values quickly to the view without using "magic strings". I'm wondering if there's something similar for the TempData that keeps it's values after a RedirectToAction.
Thanks.
You can enable the session state as was used in web forms and use that to store the data if you want, is this something you would be interested in? Just google "session state in asp.net mvc"
When you do this...
TempData("test") = "cool string"
You can access is later on using tempdata.test (though they aren't sure if they are going to keep it as tempdata or going to change it).