title: Using a dash (-) in ASP.MVC parameters
body: <pre><code>&lt;% using (Html.BeginForm("SubmitUserName")) { %&gt;
      &lt;input type='text' name='user-name' /&gt;
      &lt;input type='submit' value='Send' /&gt;
  &lt;% } %&gt;
  </code></pre>
  
  <p>What should be a signature of a corresponding Action method to accept <code>user-name</code> parameter?</p>
  
  <pre><code>public ActionResult SubmitUserName(string user-name) {...}
  </code></pre>
  
  <p>Method signature above does not work for some reason ;-)</p>
  
  <p>I know there is an <code>ActionNameAttribute</code> to handle situation with a dash in action name. Is there something like <code>ParameterNameAttribute</code>?</p>