castle-windsor
How to force the order of Installer Execution
I have been building a new .NET solution with Castle performing my DI. Its now at the stage where i would like to control the order in which my installers run. I have built individual[详细]
2023-03-12 23:45 分类:问答Dynamically adding generic services from one concrete implementation using Castle Windsor
I\'m using Castle Windsor, and I\'ve got the following: public class NhibernateRepository<T> : IRepository<T>[详细]
2023-03-12 11:49 分类:问答Configure a castle windsor TypedFactory with custom selector via xml?
I have the following configuration: container.AddFacility<TypedFactoryFacility>() .Register(Component.For<IMyFactory>()[详细]
2023-03-12 06:08 分类:问答How to automaticly register components using a Generic FactoryMethod with Castle Windsor
I´m trying to work out a problem with registering my configuration classes. I have the following in my Installer:[详细]
2023-03-12 05:21 分类:问答Proper error messages on registering wcf client components in Castle Windsor
I\'m trying to get an error message when I try to register a component in Castle Windsor that points to WCF Service that has errors in the configuration. For registering the component I\'m using:[详细]
2023-03-11 07:40 分类:问答Unity: propagate named registration
With Unity (2.0) I register two named interfaces of IFoo, mapped to two different implementations: Container[详细]
2023-03-11 07:09 分类:问答windsor ioc in console app
I am working on a console application and I want to use castle windsor for di.I have the following code in my Main method for the console app -[详细]
2023-03-11 00:14 分类:问答Castle Windsor is complaining that it is missing dependencies because they are not registered
I\'m using Castle Windsor to register my services and types for a web application in 开发者_C百科Global.asax.[详细]
2023-03-10 07:52 分类:问答Castle Windsor: Register components across multiple projects in solution
I would like to use Castle Windsor for dependency injection for my solution consisting of the following projects:[详细]
2023-03-10 07:29 分类:问答Calling ServiceLocator.SetLocatorProvider for a new Castle Windsor container causes IServiceProvider conflict in a VSIX package
I have a basic vsix package project in VS 2010 and have a simple ServiceLocator deriving from Microsoft.Practices.ServiceLocation.ServiceLocatorImplBase that I am registering in the Initialize overrid[详细]
2023-03-10 03:46 分类:问答