title: MVC Html.ActionLink not passing querystring properly
body: <p>This seems like it should be pretty straight forward, but I'm apparently confused.</p>
  
  <p>I have a List view that displays a paged list.  At the bottom I have a set of actionlinks: </p>
  
  <pre><code>&lt;%= Html.ActionLink("First Page", "List", new { page = 1} ) %&gt;
  &amp;nbsp; 
  &lt;%= Html.ActionLink("Prev Page", "List", new { page = Model.PageNumber - 1 }) %&gt;
  &amp;nbsp;
  &lt;%= Html.ActionLink("Next Page", "List", new { page = Model.PageNumber + 1 }) %&gt;
  &amp;nbsp;
  &lt;%= Html.ActionLink("Last Page", "List", new { page = Model.LastPage } )%&gt;
  </code></pre>
  
  <p>I'm using the basic default routes setup, except with "List" substituted for "Index":</p>
  
  <pre><code>            routes.MapRoute(
              "Default", // Route name
              "{controller}/{action}/{id}", // URL with parameters
              new { controller = "Home", action = "List", id = UrlParameter.Optional } // Parameter defaults
          );
  </code></pre>
  
  <p>The problem is that the ActionLink helpers are generating links of the form:</p>
  
  <pre><code>http://localhost:2083/Retrofit?page=2
  </code></pre>
  
  <p>rather than </p>
  
  <pre><code>http://localhost:2083/Retrofit/?page=2
  </code></pre>
  
  <p>(with the trailing slash after the controller name &amp; before the query string).  When the first URL is routed, it completely loses the query string - if I look at Request.QueryString by the time it gets to the controller, it's null.  If I enter the second URL (with the trailing slash), it comes in properly (i.e., QueryString of "page=2").</p>
  
  <p>So how can I either get the ActionLink helper to generate the right URL, or get the Routing to properly parse what ActionLink is generating?</p>
  
  <p>Thanks.</p>