title: Custom MapRoute
body: <p>I am attempting to create some custom map routes but can't get it working quite right.</p>
  
  <p>My ultimate aim is to be able to specify something like the following. Where by I essentially have my URL constructed with value pairs of "id" and "name".  The name is irrelevant and solely for user pleasantries, I will require the ID in my controller though.</p>
  
  <blockquote>
    <p>/dashboards/5-My-Estate-name/89-My-subgroup-name/133-Maybe-even-another-subgroup</p>
  </blockquote>
  
  <p>For starters I'm working on the first section and having troubles.</p>
  
  <p>Browsing to "http://localhost:53933/dashboards/109-building-xyz" whilst using the following route generates the error <code>A public action method '109-building-xyz' was not found on controller 'MyInterfaceInterface.Controllers.DashboardsController'.</code></p>
  
  <pre><code>routes.MapRoute(
    "Dashboard",
    "dashboards/{id}-{name}", // URL pattern
     new { controller = "Dashboards", action = "Index" },
     new { id = @"\d+", name = UrlParameter.Optional }
  );
  </code></pre>
  
  <p>Obviously I wanted this to be routed to the Index function with parameters.</p>
  
  <p>What am I doing wrong? Am I even structuring this correctly? I come from a web-PHP background and using htaccess to achieve such things.</p>
  
  <p>Thanks</p>