Dynamic Dictionaries are really easy to create in .NET 4, I did a post on it here: http://www.aaron-powell.com/dynamic-dictionaries-with-csharp-4 and although you do loose the intellisense
capabilities I think that'd be a small price to pay to have a simplified data management method.
Having ViewData and ViewModel could get confusing (unless ViewModel is just a wrapper on ViewData) and it'd make testing harder as you need to ensure that the data is being added to the "right" collection.
Hanselminutes on 9 - ASP.NET MVC 3 and NEW ASP.NET Futures with Phil Haack and Morgan the Intern
Jul 27, 2010 at 4:29 PMDynamic Dictionaries are really easy to create in .NET 4, I did a post on it here: http://www.aaron-powell.com/dynamic-dictionaries-with-csharp-4 and although you do loose the intellisense capabilities I think that'd be a small price to pay to have a simplified data management method.
Having ViewData and ViewModel could get confusing (unless ViewModel is just a wrapper on ViewData) and it'd make testing harder as you need to ensure that the data is being added to the "right" collection.
10-4 Episode 22: Simplifying Data-Driven Web Applications
Jun 06, 2009 at 4:36 PMWhat build of VS2010 was that demo using, the CTP. It didn't look like the beta 1 release
10-4 Episode 10: Making Web Deployment Easier
Mar 05, 2009 at 3:06 PM