title: How can I create this action link?
body: <p>I'm having issues creating an ActionLink using Preview 5.  All the docs I can find describe the older generic version.</p>
  
  <p>I'm constructing links on a list of jobs on the page /jobs.  Each job has a guid, and I'd like to construct a link to /jobs/details/{guid} so I can show details about the job.  My jobs controller has an Index controller and a Details controller.  The Details controller takes a guid.  I've tried this</p>
  
  <pre><code>&lt;%= Html.ActionLink(job.Name, "Details", job.JobId); %&gt;
  </code></pre>
  
  <p>However, that gives me the url "/jobs/details".  What am I missing here?</p>
  
  <hr>
  
  <p>Solved, with your help.</p>
  
  <p>Route (added before the catch-all route):</p>
  
  <pre><code>routes.Add(new Route("Jobs/Details/{id}", new MvcRouteHandler())
  {
  Defaults = new RouteValueDictionary(new
      {
      controller = "Jobs",
      action = "Details",
      id = new Guid()
      }
  });
  </code></pre>
  
  <p>Action link:</p>
  
  <pre><code>&lt;%= Html.ActionLink(job.Name, "Details", new { id = job.JobId }) %&gt;
  </code></pre>
  
  <p>Results in the html anchor:</p>
  
  <blockquote>
    <p><a href="http://localhost:3570/WebsiteAdministration/Details?id=2db8cee5-3c56-4861-aae9-a34546ee2113" rel="nofollow noreferrer">http://localhost:3570/WebsiteAdministration/Details?id=2db8cee5-3c56-4861-aae9-a34546ee2113</a></p>
  </blockquote>
  
  <p>So, its confusing routes.  I moved my jobs route definition before the website admin and it works now.  Obviously, my route definitions SUCK.  I need to read more examples.</p>
  
  <p>A side note, my links weren't showing, and quickwatches weren't working (can't quickwatch an expression with an anonymous type), which made it much harder to figure out what was going on here.  It turned out the action links weren't showing because of a very minor typo:</p>
  
  <pre><code>&lt;% Html.ActionLink(job.Name, "Details", new { id = job.JobId })%&gt;
  </code></pre>
  
  <p>That's gonna get me again.</p>