Click here to Skip to main content
15,899,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,

I can not understand what is the benefit of MVC Ninject ?

Can any declare what is the problem if i don't use Ninject and what it solve to me in MVC with sample in article coz i search in Google and i couldn't reach to any useful link.


thanks in advance
Posted

1 solution

NInject will allow you to create your solution using Inversion of Control (Ioc) and Dependency Injection (DI)

This is quite a large subject for a quick answer, you'll need to have a read to understand the concepts

This should get you started...

1) A similar question to yours on stack overflow

http://stackoverflow.com/questions/131975/what-are-the-benefits-of-dependency-injection-containers[^]

2) General reading

http://martinfowler.com/articles/injection.html[^]

http://www.mikesdotnetting.com/Article/117/Dependency-Injection-and-Inversion-of-Control-with-ASP.NET-MVC[^]
 
Share this answer
 
Comments
BillW33 5-Jun-12 12:39pm    
Good answer for a broad question, +5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900