title: Multiple ActionFilterAttribute order of execution assured?
body: <p>I just looked into ActionFilters and they are quite useful. Now, I tried having more than one decorating a method, so as to separate the logic. I thought this would be useful.</p>
  
  <p>So here's an example method</p>
  
  <pre><code>[Common.PortalSecurity.Login]
  [Common.PortalSecurity.UserRole]
  public HttpResponseMessage GetAll(string sessionToken)
  {
      return new HttpResponseMessage();
  }
  </code></pre>
  
  <p>This works fine, but it is mandatory that <code>Login</code> should execute before <code>UserRole</code>.</p>
  
  <p>Is it 100% the order of execution will be respected at every request ?</p>
  
  <p>This <a href="http://byatool.com/lessons/asp-net-mvc-attributes-actionfilterattribute-and-why-you-might-want-to-use-them/" rel="nofollow">blog post</a> seems to say it should work.</p>
  
  <p>Any ideas ?</p>