title: Attributes on method parameters
body: <p>Looking at ASP.NET Web Api you can add attributes such as <code>[FromBody]</code> and <code>[FromUri]</code> to method parameters, for example:</p>
  
  <pre><code>public virtual Foo Get([FromUri] Guid id)
  public virtual HttpResponseMessage Post([FromBody] Foo foo)
  </code></pre>
  
  <p>I am also aware of their use in <code>CallerInformation</code>.</p>
  
  <p>I understand what they are doing in this context but I am interested in understanding the design choice resulting in their use.</p>
  
  <p>and also, </p>
  
  <p>Further examples of attributes used on method parameters.</p>