我有许多 AOP 库,它们使用 Castle DynamicProxy 和 Autofac DI 容器进行日志记录、审计、事务控制等。
我想知道是否有办法使用默认的 .NET Core DI 容器来声明拦截器。拥有这种灵活性会很好,因为许多 .NET Core 项目不使用 Autofac。
aop dependency-injection castle-dynamicproxy autofac .net-core
.net-core ×1
aop ×1
autofac ×1
castle-dynamicproxy ×1
dependency-injection ×1