dependency injection - Ninject with ASP.NET MVC 3 global.asax rewrite -


in asp.net mvc v2 app's global.asax.cs have ninject v2 wireup. looking complete information on how same in mvc 3, right way using idependencyresolver find many references fact 1 should use interface not actual code how use it. instance here says should use it. i've checked brad wilson's blog lacks detailed info.

i've downloaded ninject.web.mvc mvc3 , latest ninject 2.1 web support , added both solution. that's have now. i've referred piece of code scottgu designed around class mvcservicelocator, not exist anymore. in unable find example of how rtms versions of both mvc 3 , new ninject mvc3.

now need inherit http application ninjecthttpapplication in version 2 or what?

after more searches on web found complete , up-to-date solution described here remo gloor.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -