Created a class that inherits from NinjectModule, where to download now?

After creating a class that inherits from NinjectModule and overriding the Load () method with all my binding calls, where do I set ninject in my asp.net web app? (MVC)

Is this the httpmodule I have to create? global.asax?

+2


source to share


1 answer


UPDATE NB see comment on the question - this only makes sense for MVC if very old Ninject (2 or earlier) and very old MVC (2 or earlier) are used




There a NinjectHttpApplication

you get from which pages are automatically entered.

See Does anyone know of a good tutorial for getting Ninject 2 working in ASP.NET MVC?

+2


source







All Articles