tags:

views:

171

answers:

1

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?

+1  A: 

There's a NinjectHttpApplication you derive from which auto-injects pages.

See http://stackoverflow.com/questions/962690/does-anyone-know-of-a-good-guide-to-get-ninject-2-working-in-asp-net-mvc

Ruben Bartelink