简体   繁体   中英

why is ninjectwebcommon.cs no longer included with nuget package Ninject for MVC 5

Why is ninjectwebcommon.cs no longer included with the nuget package for MVC 5 in visual studio?

My concern is, I want to know how to configure ninject properly for use in MVC and in WebApi. However, I was disappointed that there was nothing on http://www.ninject.org/

and on the github project for it an issue got opened and closed without this being resolved ( https://github.com/ninject/Ninject.Web.Common/issues/35 ) and no info about how to configure the package.

I know you can hunt around the web and find some config. But the problem with that is that you don't know if you are picking up good practice or not.

I don't understand why the creators of the ninject package are hiding this info from us. Indeed I asked the question on http://www.ninject.org/ via the speakup option and received no answer.

Am I missing something obvious here or is everyone searching for an answer for this and just pulling in random findings from the web into their projects?

Thanks.

Take a look at this documentation. There are all informations needed to fix this. https://github.com/SkydivingAngel/Ninject-WebApi-2-and-Mvc5

Edit: Look exactly into Readme.md file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM