I upgraded a large ASP.NET MVC application I've been working on to the latest beta today, and after some initial problems, I've got it mostly working again. The big problem is that I have things like this:
<%= Html.ActionLink("LOGIN", "Index", "Authorization", new { redirect=Request.Url })%>
and
<%= Html.ActionLink("Edit this page", "Edit", "Webpages", new { id = wp.Id })%>
That render the links as:
http://localhost:60321/calendar/edit?Length=8
Albeit with different "Lengths." I have no idea why this is happening; it's as though my route tables have gone completely insane. "calendar/edit/{id}" is a valid route, but it's about the fourth down on the list. These were working perfectly before.
I'm sort of at my wits end here trying to figure out what is going on... The link text renders perfectly; it's just the url of some of the ActionLink calls I have are not working. Some of them work fine. Here is an example of one that works fine:
<%= Html.ActionLink("ADMIN", "Index", "ControlPanel") %>
Any help would be greatly appreciated!