ninject-2
MVC 3: How to learn how to test with NUnit, Ninject, and Moq?
Short version of my questions: Can anyone point me toward some good, detailed sources from which I can learn how to开发者_如何学JAVA implement testing in my MVC 3 application, using[详细]
2023-03-19 12:08 分类:问答Ninject GetAll return duplicate object
I have this code : abstract class GenericAbstractClass<T> where T : struct { } class ImplementationClass : GenericAbstractClass<int> { }[详细]
2023-03-18 21:33 分类:问答Is it possible to use Ninject without inheriting from NinjectHttpApplication?
I\'d like to Ninject as the IOC container for my WebForms solution to ac开发者_StackOverflow中文版hieve property injection, but the global.asax is already inheriting from another class so I cannot inh[详细]
2023-03-15 02:39 分类:问答Creating an entity service with different views/sights depending on user's rights
For a custom blog implementation (written in ASP.NET MVC 3), I wrote a PostService class implementing an IPostService interface that is retrieving Post entities representing blog posts. However, not e[详细]
2023-03-14 14:22 分类:问答How to configure Ninject so that it would inject right instance depending on previously injected instance
I can\'t find right words for my question so i will let my code speak instead. I have Repository: class Repository[详细]
2023-03-13 05:53 分类:问答Is Kernel.Get<T>() threadsafe + good pattern to share the kernel among components
Is Kernel.Get() threadsafe? My goal is share an instance of my kernel among all my componenets and they may all very well call Kernel.Get() at the same time on different threads.[详细]
2023-03-13 05:48 分类:问答How to use Ninject to inject services into an authorization filter?
I am using asp.net mvc 3, ninject 2.0 and theninject mvc 3 plugin. I am wondering how do I get service layers into my filter(in this case an authorization filter?).[详细]
2023-03-13 02:21 分类:问答EF4.0, repositories, and Ninject 2
This is in continuation of two ongoing problems I\'m facing: Problems trying to attach a new EF4 entity to ObjectContext while its entity collection entities are already attached and EF4.0 - Is there[详细]
2023-03-11 09:59 分类:问答How to add a nhibernate transaction to ninject?
how can I make it so on every http request I start a transaction and at the end I commit my transactions?[详细]
2023-03-10 21:01 分类:问答How to wrap lazy loading in a transaction?
I am using nhibernate and the nhibernate profile what keeps throwing this alert. Use of implicit transactions is discouraged\"[详细]
2023-03-10 19:23 分类:问答
加载中,请稍侯......