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
I\'m using Castle Windsor, and I\'ve got the following: public class NhibernateRepository<T> : IRepository<T>
I have the following configuration: container.AddFacility<TypedFactoryFacility>() .Register(Component.For<IMyFactory>()
I´m trying to work out a problem with registering my configuration classes. I have the following in my Installer:
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:
With Unity (2.0) I register two named interfaces of IFoo, mapped to two different implementations: Container
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 -
I\'m using Castle Windsor to register my services and types for a web application in 开发者_C百科Global.asax.
I would like to use Castle Windsor for dependency injection for my solution consisting of the following projects:
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