title: c# MVC routing with constants
body: <p>I'm trying to generate an actionlink on a page that has the following route:
  /{controller}/{type}/{sub}</p>
  
  <p>The link needs to go to:
  /{controller}/{type}/{sub}/new</p>
  
  <p>How do I specify the "/new" portion of the url in an object or RouteValueDictionary so that I can pass it to the HTML.ActionLink? </p>
  
  <p>StackOverflow won't let me answer my question for another 8hrs... so:</p>
  
  <p>Thanks Justin.
  Your suggestion worked, but for the sake of completeness, I discovered the method using the Html.ActionLink method:</p>
  
  <p>You just need to specify the ActionName of the method that resolves that route. The framework appears to automatically work out that you want it on the same path as the current page.</p>
  
  <p>So, if your route is:</p>
  
  <pre><code>routes.MapRoute(
              "New", // Route name
              "{controller}/{type}/{sub}"/new, // URL with parameters
              new {controller = "DefaultController", action = "Create", id = UrlParameter.Optional});
  </code></pre>
  
  <p>The link is:</p>
  
  <pre><code>Html.ActionLink("Create New Page", "Create")
  </code></pre>
  
  <p>Approving Justin's method as it worked for me</p>