Devlico.Us
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @devlicious

Derik Whittaker

Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool



Upgrading to Mvc Beta Gotcha to look for

I forgot to mention in my upgrading to MVC beta post to mention one little gotcha.  Since the MVC team renamed Html.Form() to Html.BeginForm you will have to update all your references.  However, you will also have to swap the logic that is being used.

When using Html.Form the parameter order was "Controller" then "Action" (on the simple overload),

Now, when using Html.BeginForm the paramter order is "Action" then 'Controller" (on the simple overload).

If you do not notice this subtle change you will assume everything is good to go.  You will only notice the problem when you run your application.

Just thought I would mention this, happy upgrading.

Till next time,



Comments

ASP.NET MVC Archived Buzz, Page 1 said:

Pingback from  ASP.NET MVC Archived Buzz, Page 1

# October 20, 2008 12:38 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Derik Whittaker

Derik is a .Net Developer/Architect specializing in WinForms working out the northern suburbs of Chicago. He is also believer and advocate for Agile development including SCRUM, TDD, CI, etc.

When Derik is not writing code he can be found spending time with his wife and young son, climbing on his bouldering wall, watching sports (mostly baseball), and generally vegging out. Check out Devlicio.us!

Our Sponsors

Proudly Partnered With


This Blog

Syndication

News