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
{{ message }}
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.
This is great for controllers but does not work for custom filters and if you add a dependency in your custom filter (property injection) it never get's resolved.
This is great for controllers but does not work for custom filters and if you add a dependency in your custom filter (property injection) it never get's resolved.
The only way I figured out how to do this was from https://michael-mckenna.com/dependency-injection-for-asp-net-web-api-action-filters-in-3-easy-steps/ where he creates a custom UnityFilterProvider. This is so benificial I'm not sure why it's not in this package...
The text was updated successfully, but these errors were encountered: