title: Actionlink with both routevalues and htmlattributes - what am I doing wrong?
body: <p>I am trying to both have some route values and html attributes on my <code>ActionLink</code>.</p>
  
  <p>So, I have the following code. The first three parameters is text, action name and controller. Then I add the route values, and then I try to add the HTML attributes.</p>
  
  <pre><code>@Html.ActionLink("What is this", "Pages", "Root", new { @slug = "what-is-this" },new{@class="dropdown-toggle", @data-toggle="dropdown"})
  </code></pre>
  
  <p>When I run the website I get an error message saying the view with this actionlink, it gives the <code>External component has thrown an exception.</code> </p>
  
  <p>So, I guess my question is: How to add html attributes to this action link? What am I doing wrong?</p>