castle-windsor
Injecting an Open Generic Interface with a non Generic implementation using Castle
I have an open generic interface, which i implement with a non generic class, and i want to inject this class using castle windsor, but am struggling.....[详细]
2023-03-09 21:51 分类:问答Can Use Castle Windsor to Keep Static References In Memory?
Background... I have to build a new (asp.net mvc) app that uses an existing class library that is complex and can\'t be rewritten at this stage. The main problem is that this class library has a huge[详细]
2023-03-09 20:31 分类:问答Injecting dependency into CustomAttribute using Castle Windsor
In my ASP.Net MVC application I have implemented a Custom ActionFilter to Authorize users. I use CastleWindsor to provide dependency injection into all of the controllers as foll开发者_开发问答ows:[详细]
2023-03-08 18:49 分类:问答Castle windsor controller factory and repository not resolving
I am currently testing out Castle Windsor vs. Ninject, and I really like what Windsor has to offer, I am just having an issue with a repository injection.[详细]
2023-03-08 15:58 分类:问答Close NHibernate session in WinForm application with Windsor Castle
My WinForm application is configured like this: public class RepositoriesInstaller : IWindsorInstaller[详细]
2023-03-08 07:44 分类:问答using same implementation with different lifestyles Windsor
I have a class like this: public FooRepo : IFooRepo { public FooRepo(IDbContextF开发者_C百科actory factory)[详细]
2023-03-08 04:05 分类:问答Existing DI framework usage and Silverlight
Greetings, We have built an extensive system and data framework api using interfaces and DI. For the data access, if the application is a Windows service/WCF service then a LINQ implementation of the[详细]
2023-03-07 16:50 分类:问答HttpContextBase: Session is null
I use Windor Castle to wrap the HttpContext into a HttpContextWrapper via a factory method. container.Register([详细]
2023-03-07 13:36 分类:问答problems with di using castle windsor
I am trying to learn di using windsor and am running into problems.I have an existing DAL that I am using and I would like to use di with this dal.I have the following interface (simplified for the sa[详细]
2023-03-07 12:32 分类:问答Castle Windsor won't inject Logger in a property!
I try to inject log4net in a ILogger property of my service class but the property is always NULL! I\'ve seen this topic but it doesn\'t help me![详细]
2023-03-07 10:14 分类:问答