ninject
ASP.Net MVC 3: Dependency injection with Ninject in View
How to dependenc开发者_运维知识库y injection using Ninject in View in MVC 3? I am now using Ninject 2.2 and Ninject.MVC3 2.2.2.0You shouldn\'t be using Ninject to supply anything to the View. Ninject[详细]
2023-03-20 04:09 分类:问答Intercepting injection
I am injecting repositories into a class, and once I\'ve injected the repositories, I\'m assigning my context to each of the repositories so I have my unit of work.[详细]
2023-03-19 21:03 分类:问答ConstructorArguments without magic strings
If I want to specify a constructor argument I need to specify the argument name as string. Unfortunately, this is no开发者_StackOverflowt very refactoring friendly. Is there any way to get around this[详细]
2023-03-19 16:00 分类:问答Context and parameter-specific injection down a Ninject 2 dependency graph
I am interested in creating an instance of an object that implements my IDistributor interface using IoC and Ninject.[详细]
2023-03-19 15:15 分类:问答Ninject Interception extension is creating 2 instances of the class; is there a way to avoid this
I have a problem using the Ninject interception extension with DynamicProxy2. In essence, two instances of my bind-to object get created. My binding is:[详细]
2023-03-19 15:10 分类:问答MVC3, Ninject and Ninject.MVC3 problem
I just start using Ninject with MVC3 so 开发者_运维问答here is my problem: - I installed Ninject 2.2.1.4 and Ninject.MVC3 2.2.2.0 from Nuget[详细]
2023-03-19 12:27 分类:问答Ninject + WCF Issue
I\'m trying to use Ninject with a WCF service of mine.I\'m using Ninject 2.2.1.4 and Ninject.Extensions.Wcf 2.2.0.4.My unit test to ensure Ninject is working properly fails with an ArgumentNullExcepti[详细]
2023-03-19 11:22 分类:问答Entry Point of a DLL
I\'ve a c# .net WPF application, now i need to register something(basically kernel of NInject IoC pattern) that has been used by the BLL and DAL layer.[详细]
2023-03-19 01:19 分类:问答.NET memory profiling / risks for leaks / Ninject / Direct delegate roots
I am profiling an application that uses Ninject for DI. Over the course of time, I am seeing lots of instances of the BindingBuilder class, which is used to define the objects defined in the container[详细]
2023-03-19 00:23 分类:问答WCF and Ninject
within our per-session WCF services hosted in ISS, we would like to use Ninject to开发者_运维知识库 IOC different data access component through the interface.[详细]
2023-03-18 22:44 分类:问答