Getting SNAP(AOP), NInject and ASP.Net MVC 3 working together
问题 Has anyone got the SNAP AOP framework working with MVC 3 and Ninject. The samples given when adding Snap using NuGet to an MVC 3 project don't specifcally work well with a previously added NInject package. I have tried to get it working based on the normal NInject approach but just cannot get it to actually intercept! Can anyone show how to do this in code please? 回答1: I figured it out with the latest version of Ninject through NuGet which now adds a class call NinjectMVC3 in a new AppStart