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 this scenario ?
+1
A:
AutoFac has interception capabilities, which rely on Castle DynamicProxy library (same that Castle Windsor uses). Check this website for examples of usage.
Krzysztof Koźmic
2010-04-04 13:47:27
Thanks, I read it.I decide to go with PostSharp 2.0 for the following reasons: - easy to implement, - can use declarative programming and have a clear code (making attribute for auditing is meter of min) - less maintenance need it.
ITGoran
2010-04-07 20:35:00