Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebApi global action filter executing twice #4

Open
abpatel opened this issue Oct 23, 2015 · 0 comments
Open

WebApi global action filter executing twice #4

abpatel opened this issue Oct 23, 2015 · 0 comments
Labels

Comments

@abpatel
Copy link

abpatel commented Oct 23, 2015

I'm noticing that after installing this package, the OnActionExecuting and OnActionExecuted methods of my custom action filter are being invoked twice.My filter happens to be a Global filter and I noticed that this happens only if the custom action filter does not have the [AttributeUsage] attribute.

Before installing this package, I was using the NinjectScope and NinjectResover as indicated below and the filter behaved as expected without the [AttributeUsage] attribute.

http://stackoverflow.com/questions/26708979/when-should-one-use-kernel-beginblock-in-ninject-mvc3

Just wanted to get some clarity on whether this qualifies as a bug or is there some inherent behavior that I'm unaware of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants