Implementing auditing using Autofac if it support method interception?
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.
精彩评论