Hi,
do Filter-Overrides work in the current RC ?
When I try to execute the action-method in the following listing, the DemoActionFilter, which extends FilterAttribute and inherits IActionFilter is executed although the action-method is annotated with OverrideActionFiltersAttribute.
What's wrong here?
Wishes,
Manfred
do Filter-Overrides work in the current RC ?
When I try to execute the action-method in the following listing, the DemoActionFilter, which extends FilterAttribute and inherits IActionFilter is executed although the action-method is annotated with OverrideActionFiltersAttribute.
What's wrong here?
Wishes,
Manfred
[DemoActionFilter]
public class HomeController : Controller
{
[OverrideActionFiltersAttribute]
public ActionResult Contact()
{
ViewBag.Message = "Your contact page.";
return View();
}
}