花费 10ms 找到251条记录
常见的第三方组件——Ninject 繁体
2016年07月20 -   1.为什么要用NinjectNinject是一个IOC容器用来解决程序中组件的耦合问题,它的目的在于做到最少配置。其他的的IOC工具过于依赖配置文件,需要使用assembly-qualified名称来进行定义,庸长且复杂常常因为打错字而破坏程序。这些是他的优点,也是为什么要选择它。Ninject同时不能进行热插拔。 2.Ninject做些什么? 其实Ninject

Dependency Injection of a service usage inside the global.asax 繁体
2011年06月02 - I'm using Ninject to do dependency injection. I have a userService in which I need to access from the global.asax file. 我使用Ninject进行依赖注入。我有一个用户服务,我需要在其中访问全局。asax文件。 How do I dependency inject this? 我

How to Inject properly an IDBContextFactory into a controller's inject IDomainFactory using Ninject MVC3? 繁体
2012年02月22 - Preliminaries I'm using Ninject.MVC3 2.2.2.0 Nuget Package for injecting into my controller an implementation of a IDomain Interface that separates my Business Logic (BL) using an Factory approach

Getting AsyncController to work with Ninject 繁体
2010年08月30 - I am trying to convert some actions within a controller to run asynchronously in an mvc project that is using ninject for dependency injection. I'm following the steps by inheriting AsyncController an

Ninject on asp.net Session state 繁体
2009年01月09 - I'm working with Ninject on a web application, using the BasePage and BaseMaster from the frameworks's integrations. What I would like to do is have an object injected and have a new instance created

Ninject syntax for “Bind” with multiple arguments 繁体
2010年09月10 - How I can use multiple parameters in Ninject syntax like following? 我如何在Ninject语法中使用多个参数,如下所示? What if more than one parameter need to be passed? 如果需要传递多个参数怎么办?

Parameterized Constructors for ViewModels Using PRISM and MVVM 繁体
2012年08月11 - Im trying to use MVVM on a PRISM Module. I have a ViewModel in my module with a parameterized constructor which accepts an IOutputService object which will be injected using Ninject. 我正在尝试在PRISM模块上使用M

Ninject won't resolve constructor dependencies - Web API 2 繁体
2015年05月08 - I've removed Unity and am now attempting to use Ninject in its place. For the most part it works, however I cannot get it to play nice with Web API 2. 我删除了Unity,现在正尝试使用Ninject代替它。在大多数情况下它是有效的,但是我不能让它与

Can I specify the scope in Ninject for only this specific situation? 繁体
2011年03月14 - Earlier I asked this question. The answer to which resulted into another question like thou seeth be

Session is closed Object name: 'ISession'. at NHibernate.Impl.AbstractSessionImpl.ErrorIfClosed() - 繁体
2016年07月26 - I am using NHibernate in an MVC C# application with MySQL. I am trying to have multiple users access


 
粤ICP备14056181号  © 2014-2021 ITdaan.com