开发者

Implementing auditing using Autofac if it support method interception?

开发者 https://www.devze.com 2022-12-25 17:18 出处:网络
I\'m planning to use Autofac IoC for my project where I must implement auditing (Who, What is doing in application). I was already read a lot of articles on this subject (auditing).

I'm planning to use Autofac IoC for my project where I must implement auditing (Who, What is doing in application). I was already read a lot of articles on this subject (auditing). My intention was to use method interception to implement this functionality. I know that Unity support this, but I was wondering if I can use Autofac for th开发者_如何学Pythonis scenario ?


AutoFac has interception capabilities, which rely on Castle DynamicProxy library (same that Castle Windsor uses). Check this website for examples of usage.

0

精彩评论

暂无评论...
验证码 换一张
取 消