什么是“Ninject”依赖解析器及其在MVC项目中的使用方式以及项目的优势是什么? [英] What Is "Ninject" dependency resolver and how it will use in MVC project and what is advantage in project?
本文介绍了什么是“Ninject”依赖解析器及其在MVC项目中的使用方式以及项目的优势是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想了解有关Ninject依赖解析器的信息。为什么我们可以在MVC4项目中使用?
解决方案
首先你应该知道依赖注入。
请参阅此基本想法,
https://en.wikipedia.org/ wiki / Dependency_injection [ ^ ]
当您在代码中尝试此操作时,您将会遇到如何解决问题的问题。然后谷歌搜索 Ninject Dependency Resolver [ ^ ]
-KR
Quote:I想要关于Ninject依赖解析器的信息。
看起来像一个订单。 lol
错误的地方,我们不这样做。
如果你在寻找什么,存在于互联网上,谷歌就知道了。
Hi , I want information on Ninject dependency resolver.Why we can use in MVC4 project?
解决方案
First you should know about the Dependency Injection.
Refer this for the basic idea,
https://en.wikipedia.org/wiki/Dependency_injection[^]
When you try this in your code then you'll get a question how to resolve it. And then google for the Ninject Dependency Resolver[^]
-KR
Quote:I want information on Ninject dependency resolver.
Looks like an order. lol
Wrong place, we don't do that.
If what you look for, exist on internet, Google knows about it.
这篇关于什么是“Ninject”依赖解析器及其在MVC项目中的使用方式以及项目的优势是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文