Top "Castle-windsor" questions

Castle Windsor is an Inversion of Control container for .NET.

What is Castle Windsor, and why should I care?

I'm a long-time Windows developer, having cut my teeth on win32 and early COM. I've been working with .NET since 2001, …

c# dependency-injection inversion-of-control castle-windsor
Comparing Castle Windsor, Unity and StructureMap

In a follow up to Krzysztof’s statement that Windsor does a lot more than other IoC’s, I wanted …

dependency-injection castle-windsor structuremap unity-container ioc-container
How to Inject Log4Net ILog implementations using Unity 2.0

Ultimately this has to do with setting up log4Net but generically the problem is not logging specific. Generically what …

c# dependency-injection unity-container log4net castle-windsor
Ioc/DI - Why do I have to reference all layers/assemblies in application's entry point?

(Related to this question, EF4: Why does proxy creation have to be enabled when lazy loading is enabled?). I'm new …

dependency-injection inversion-of-control castle-windsor
IoC: Castle Windsor and WebAPI

I have an MVC4 site using Castle Windsor that I want to add some WebAPI calls to, so I start …

c# asp.net-mvc asp.net-mvc-4 asp.net-web-api castle-windsor
Castle Windsor register class with constructor parameters

I have the following class: public class DatabaseFactory<C> : Disposable, IDatabaseFactory<C> where C : DbContext, BaseContext, …

c# castle-windsor
Castle Windsor: Auto-register types from one assembly that implement interfaces from another

I use Castle Windsor as my IoC container. I have an application that has a structure similar to the following: …

c# castle-windsor ioc-container fluent-interface
Castle Windsor - multiple implementation of an interface

While registering components in Castle Windsor, how do we bind specific implementation of an interface to a component that has …

c# dependency-injection castle-windsor
In Castle Windsor 3, override an existing component registration in a unit test

I am attempting to use Castle Windsor in my automated tests like so: On every test: The Setup() function creates …

unit-testing castle-windsor
Windsor - pulling Transient objects from the container

How can I pull objects from the container that are transient in nature? Do I have to register them with …

.net dependency-injection castle-windsor ioc-container