You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If 2 filters A & B are provided for a controller via depedency injection & OnActionExecuting is called for filter A & then filter B, then OnActionExecuted is called for A & then B.
If the same filters are added to HttpConfiguration.Filters then OnActionExecuted is called for B & then A, which I think is the correct order.
If 2 filters A & B are provided for a controller via depedency injection &
OnActionExecuting
is called for filter A & then filter B, thenOnActionExecuted
is called for A & then B.If the same filters are added to
HttpConfiguration.Filters
thenOnActionExecuted
is called for B & then A, which I think is the correct order.ActionFilterWrapper.OnActionExecuting()
ActionFilterWrapper.OnActionExecuted()
Observed using Autofac 3.5.2, Autofac.WebApi2 3.4.0.
The text was updated successfully, but these errors were encountered: