By tag: ViewData
0
kicks
Books and bits » Blog Archive » The SmartBag to replace the ViewData o
Jeffrey Palermo postes about replacing the ViewData on the MVC framework with a generic container called SmartBag.
I made a small modification of the code to deal with the 20% of cases stated on the post. Here is the code with those changes.
0
kicks
MVC: Strongly typed ViewData without a code-behind file.
Want to use strongly typed ViewData in your view without a code-behind file? It isn't quite as straight-forward as you'd think. Read on for the answer and a quick lesson in how the CLR interacts with generics.