How to use constructor injection for actionfilterattribute?
The general custom filter can be used directly by identifying the characteristics
Because the constructor requires parameters when it is used, then we can use this
Servicefilter allows us to parse a service with IOC container added, so we need to register contentfilter.
Identify directly with features where needed
Then it is found that it can be instantiated and used
That’s all the knowledge in this introduction. Thank you for your learning and support for developepaer.