Skip to content

WebApi global action filter executing twice #4

@abpatel

Description

@abpatel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions