Using NuGet with Ninject MVC3
May 7, 2011 | In Development | No CommentsIf you have not used NuGet yet I strongly recommend you have a look. It’s a Visual Studio extension that simply takes the hassle out of having to download, install, reference etc. libraries and third party tools. It will automatically update everything for you in your project. Have a look here http://www.nuget.org.
Now I’m a fan of Ninject (http://ninject.org) an inversion of control dependency injection container, and a fan of ASP.NET MVC (http://asp.net), so in order to use Ninject and MVC 3 you can use NuGet to setup it for you.
To do this run the following package install command in the Package Installer:
install-package ninject.mvc3
What’s really neat about NuGet is that it will also install any dependencies, so in this case will also install Ninject itself.