Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Ninject version should I install from NuGet?

just a simple question:

I'm going to use Ninject in my ASP.NET MVC 3 application, but in the Package Manager there seem to be a few options:

  • Ninject
  • Ninject.MVC3
  • Ninject.Web

Among others. Which of these should I install?

like image 804
Kenji Kina Avatar asked Mar 10 '11 23:03

Kenji Kina


People also ask

Is NuGet installed with Visual Studio?

On Windows, the NuGet Package Manager is included with Visual Studio 2012 and later. Visual Studio provides the Package Manager UI and the Package Manager Console, through which you can run most NuGet operations.

Where does NuGet install Visual Studio?

You can use a shared folder and put the packages there, and then make them available by adding folder's path to your %appdata%\Nuget\Nuget. config file or by adding a Nuget. config file to the solution.


1 Answers

See https://github.com/ninject/ninject.web.mvc/wiki/Setting-up-an-MVC3-application

http://www.planetgeek.ch/2011/03/01/ninject-2-2-1-0-and-ninject-mvc3-2-2-1-0-released/

http://www.planetgeek.ch/2011/02/22/ninject-mvc3-and-ninject-web-mvc3-merged-to-one-package/

The last one is a bit outdated in the mean time, but still contains good information. I try to update it during the comming days.

like image 188
Remo Gloor Avatar answered Sep 19 '22 08:09

Remo Gloor