Castle Windsor VS Unity

Compare Castle Windsor vs Unity and see what are their differences.

Castle Windsor

Castle Windsor is a best of breed, mature Inversion of Control container available for .NET (by castleproject)


This repository contains all relevant information about Unity Container suit (by unitycontainer)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Castle Windsor Unity
1 2
1,503 1,644
0.0% 0.2%
2.7 0.0
3 days ago 4 months ago
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Castle Windsor

Posts with mentions or reviews of Castle Windsor. We have used some of these posts to build our list of alternatives and similar projects.
  • Just saw a new pattern, I call it "almost factory"
    1 project | /r/programminghorror | 4 Oct 2021
    Most of the DI containers have a feature of resolving components by name. Here's an example of a "typed factory" that can be provided by the container and the component name can be used to select the service implementation:


Posts with mentions or reviews of Unity. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-01.
  • Godot moves from SFConservancy to a new, dedicated Godot Foundation!
    2 projects | /r/godot | 1 Nov 2022
    What I would say about this is that it rarely happens successfully. The reality is that usually no one outside the main maintainers of an OSS project can be bothered / is capable of continuing the project. I often see massive OSS projects run by 1 to a few people, when they want to move on and ask the community to take over there is crickets. A recent example I've seen is the Unity dependency injector. So many people were using it and just 0 real interest in someone actually taking it over.
  • WPF Prism devs, which container do you use?
    1 project | /r/csharp | 28 Aug 2022
    Autofac is mentioned here

What are some alternatives?

When comparing Castle Windsor and Unity you can also consider the following projects:

Autofac - An addictive .NET IoC container


DryIoc - DryIoc is fast, small, full-featured IoC Container for .NET

Ninject - the ninja of .net dependency injectors

Simple Injector - An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.

StructureMap - A Dependency Injection/Inversion of Control tool for .NET