I m first time creating a custom action filter and following this link http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-custom-action-filters
They are saying to Extend ActionFilterAttribute
class and also implement IActionFilter
interface. ActionFilterAttribute
already implement IActionFilter
. I m wondering why I need to implement Interface again in my attribute class. Is is something a must to do ? Will highly appreciate if you please can clear this ambiguity.