Castle Windsor VS DryIoc

Compare Castle Windsor vs DryIoc 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)
IoC
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Castle Windsor DryIoc
1 1
1,502 960
0.1% -
3.6 9.5
about 1 month ago 28 days ago
C# C#
Apache License 2.0 MIT License
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: https://github.com/castleproject/Windsor/blob/master/docs/typed-factory-facility-interface-based.md

DryIoc

Posts with mentions or reviews of DryIoc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-21.
  • Announcing .NET 8 Preview 1
    2 projects | /r/dotnet | 21 Feb 2023
    I'd like to keep the convention-based assembly scanning capabilities if ever that was possible. It's too convenient and less error prone than manually registering everything through attributes like current source generator strategies go. DryIocZero supports this somewhat using t4 templates, it gives you a method where you can register your stuff and do assembly scanning and it'll generate your container from there. It works and is quite small and fast but the UX does need some work since t4 is rather clunky to write on.

What are some alternatives?

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

Autofac - An addictive .NET IoC container

Unity - This repository contains all relevant information about Unity Container suit

Microsoft.Extensions.DependencyInjection

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.

Scrutor - Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection

LightInject - An ultra lightweight IoC container