Article
   Software
   Operations
   Hardware
   Cooking
Blog
   Wiredoll
   Tim
   Oskar
   Jens
   FlowersFX
   Adde
Comic
   JWW2
Blog -> Wiredoll

Upgraded to ASP.NET MVC 2.0 RTM and .NET 4.0

Last night I went around and upgraded the entire project to .NET 4.0 and also managed to replace the release candidate of ASP.NET MVC we've been using with the actual RTM version.

There where several issues with the MVC upgrade and the biggest hurdle was how registered routes didn't handle optional parameters in the same way anymore. I couldn't get it to render ActionLinks nor RouteLinks with the single default rule that had three optional parameters anymore - I had to create a separate routing rule for each case of missing parameters. Using UrlParameter.Optional didn't help. But alas, it's working now and I've fixed a few glitches along the way as well - nothing published yet but soon enough you'll see.

by Oskar Duveborn
Published 2010-07-08, updated 2010-07-08