i see that there are two version of ActionFilterAttribute class.
System.Web.Mvc.ActionFilterAttribute and System.Web.Http.Filters.ActionFilterAttri
The System.Web.Http one is for Web API; the System.Web.Mvc one is for previous MVC versions.
You can see from the source that the Web API version has several differences.
OnResultExecuting
and OnResultExecuted
handlers ("Called by the ASP.NET MVC framework before/after the action result executes.")System.Web.Mvc.ActionFilterAttribute is intended for use with ASP.NET MVC. System.Web.Http.Filters.ActionFilterAttribute is intended for use with ASP.NET Web API.
MVC is web applications, Web API is HTTP services.
Their msdn pages are System.Web.Mvc.ActionFilterAttribute and System.Web.Http.Filters.ActionFilterAttribute