MVC 3 Archive

Deploying an MVC app to IIS 6

Trying to figure out how to deploy an MVC app to IIS 6 (MVC 2,3, or 4) can be quite a nuisance. If you Google it you’re bound to end up with a lot of suggestions that don’t actually work. One trick is to change the Global.asax when delpoying to an IIS 6 box, which [&hellip

Read More…

ViewBag, ViewData and TempData in ASP.NET MVC3

When using ASP.NET MVC 3 Razor I couldn’t help but wonder… when should I use ViewBag vs. ViewData vs. TempData? Finding an answer to this questions seemed oddly difficult. Different forums or blog posts contradicted each other. It’s not rocket science, but when you’re just getting started with MVC 3 it’s just one more thing that’s [&hellip

Read More…