title: Generating URLs from ASP.NET MVC routes
body: <p>If I have some routes set up as follows:</p>
  
  <pre><code>context.MapRoute("Route1", "Public/DataCapture/Name", new { controller = "Profile", action = "Name" } );
  
  context.MapRoute("Route2", "Public/DataCapture/Age", new { controller = "Profile", action = "Age" } );
  
  context.MapRoute("Route2", "Public/DataCapture/Amount", new { controller = "Income", action = "Amount" } );
  </code></pre>
  
  <p>How can I generate URLs that use the route path and not the actual controller/action path?</p>
  
  <p>E.g.</p>
  
  <pre><code>Url.Action("Name", "Profile")
  </code></pre>
  
  <p>Should generate "Public/DataCapture/Name" rather than "Public/Profile/Name"</p>