title: Order of execution with multiple filters in web api
body: <p>I am using latest <code>web api</code>.</p>
  
  <p>I do annotate <em>some</em> controllers with 3 different filter attributes.</p>
  
  <pre><code>1 [Authorize]
  2 [RessourceOwnerAttribute derived from AuthorizationFilterAttribute]
  3 [InvalidModelStateAttribute derived from ActionFilterAttribute]
  </code></pre>
  
  <p>I can not be sure that the filters run in the order they are declared from top to down.</p>
  
  <p>How do I define the order of execution in <code>web api 2.1</code> ?</p>
  
  <p><a href="https://aspnetwebstack.codeplex.com/workitem/1065#">https://aspnetwebstack.codeplex.com/workitem/1065#</a></p>
  
  <p><a href="http://aspnet.uservoice.com/forums/147201-asp-net-web-api/suggestions/3346720-execution-order-of-mvc4-webapi-action-filters">http://aspnet.uservoice.com/forums/147201-asp-net-web-api/suggestions/3346720-execution-order-of-mvc4-webapi-action-filters</a></p>
  
  <p>Do I still have to fix that for myself ??</p>