简体   繁体   中英

Does one still require an IOC to use Fluent Security?

Is it possible to run Fluent Security without IOC? My application does not currently use IOC, hence the reason for the question.

Yes, FluentSecurity does not require an IoC-container (it never has). However, if you need to replace anything in FluentSecurity or if you need dependency injection for your policies, you need a way to provide FluentSecurity with those instances/dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM