2

Does anyone know what the rules are for order of execution of OnActionExecuted in

  1. An overridden OnActionExecuted method in the controller/base controller, and
  2. An OnActionExecuted method in an Attribute/ActionFilter applied to the Action?

Is the order guaranteed?

1 Answer 1

2

Overridden controller methods are always higher in the filter stack and will therefore get called first and order is guaranteed.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.