ninject-extensions
Ninject Di bindings using a WCF service
I recently created a WCF service library. I am planning on hosting it in IIS. Since I want to reuse my repository layer I decided to go use Ninject in my WCF service as well (I use it in other project[详细]
2023-04-12 12:39 分类:问答NInject WCF extension not working with ninject 2.3
I was using NInject WCF extension 2.2 in my application, but after upgrading the Ninject version to 2.3, it stops working and return some serialization error. Is there any upgraded version of WCF exte[详细]
2023-03-22 00:04 分类:问答How can I use Ninject WCF extension with a singleton service?
I\'m using Ninject 2.2.1.4 and Ninject.Extensions.Wcf 2.2.0.4. My service is decorated with the following attribute:[详细]
2023-03-21 00:41 分类:问答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 分类:问答Intercept object created not from ninject kernel
Let say I have a class : public class SomeClass { public virtual void InterceptedMethod () { // Do something.[详细]
2023-03-09 04:57 分类:问答Stability of Ninject.Mvc and Ninject.Wcf extensions
I\'m planning to start using Ninject 2.2 in enterprise-like project after playing with it for some time. Can anyone confirm no issues with these extensions in production use? I especially worry about[详细]
2023-02-28 06:25 分类:问答Ninject-ing a dependency in Global.asax
I\'m starting a web application with MVC3 and Ninject. There is one dependency that I also need in the Global.asax file that needs to be a singleton.[详细]
2023-02-21 01:21 分类:问答Can someone help me set up Ninject 2 with Log4net?
I\'ve been (happily) using Ninject for a while now with some basic scenarios, and would like to give it contro开发者_开发技巧l of my logging. I noted the existence of the Ninject.Extensions.Logging na[详细]
2023-02-20 10:07 分类:问答Adding reference to Ninject.Extensions.Interception.DynamicProxy causes Ambiguous Match Excpetion
I have Ninject configured to do DI in an ASP.NET MVC 3 application. This is working fine and it injects the proper classes in to my controllers.[详细]
2023-02-16 07:40 分类:问答Ninject and OnePerRequestModule
I have recently tried out Ninject with the Ninject.Web.Mvc extension, and I\'ve noticed something peculiar and, while not breaking, confusing.[详细]
2023-02-11 15:30 分类:问答