Why is my ASP.NET Web API ActionFilterAttribute OnActionExecuting not firing?

If you’re working in a project contains both MVC and WebAPI assembilies, could you check what’s the namespace your ActionFilterAttribute’s namespace. It’s fairly confusing cause there are two ActionFilterAttributes under both:

  • WebAPI: System.Web.Http.Filters
  • MVC: System.Web.Http.Mvc

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)