Contents tagged with Castle
-
Using Autofac DynamicProxy2 Interceptors with MVC3–Part 1
Autofac is an IoC container and using DynamicProxy we can intercept method calls to perform custom logic. What this means is that, you can actually add ‘hooks’ to methods in your code so that when these methods are called, you automatically invoke an ‘interceptor’ method that wraps the call to your method.