Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在没有 IOC 的情况下运行 Fluent Security?我的应用程序当前不使用 IOC,因此是问题的原因。
是的,FluentSecurity 不需要 IoC 容器(它从来没有)。但是,如果您需要替换 FluentSecurity 中的任何内容,或者您的策略需要依赖注入,则需要一种方法来为 FluentSecurity 提供这些实例/依赖项。