After creating a class that inherits from NinjectModule, and overriding the Load() method with all my binding calls, where do I setup ninject in my asp.net web application? (MVC)
Is it a httpmodule that I have to create? global.asax?
After creating a class that inherits from NinjectModule, and overriding the Load() method with all my binding calls, where do I setup ninject in my asp.net web application? (MVC)
Is it a httpmodule that I have to create? global.asax?
There's a NinjectHttpApplication
you derive from which auto-injects pages.