-
Tuesday, September 20, 2011
When you're bringing over controllers and views from one MVC project to the other, you may run in to weird runtime model errors. Most of these issues are the result of bringing a web.config file over from another project that is not the same version of MVC. In my case today I copied over some controllers and views and a web.config file from an Area in MVC3 to a project in MVC2. Everything compiled, but at runtime the Model object was null.I rarely make any changes to the web.config that lives in the /Areas folder. I just deleted it ...
Full story
Gregg Crystal
Posted under: ASP.Net MVC
-
Thursday, October 01, 2009
So far, ASP.NET MVC is working out pretty well. We’ve probably done almost a dozen apps so far. The general hype seems to be true, you’re closer to HTML, and there’s less .NET controls getting in your way. Apps seem to be completed a little faster (although traditional webform apps were pretty fast too). The biggest plus so far has been in the prototyping stage. Along with the ASP.NET MVC approach are some nice patterns for testing. Something people tend to miss is that you could have done most of this with Webforms, it just wasn’t fashionable then. Either way, ...
Full story
Gregg Crystal
Posted under: ASP.Net MVC