Castle Windsor
Castle Windsor is a best of breed, mature Inversion of Control container available for .NET (by castleproject)
DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET (by dadhi)
Our great sponsors
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.
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"
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
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
Castle Windsor vs Autofac
DryIoc vs Unity
Castle Windsor vs Microsoft.Extensions.DependencyInjection
DryIoc vs Autofac
Castle Windsor vs Ninject
DryIoc vs Microsoft.Extensions.DependencyInjection
Castle Windsor vs Unity
DryIoc vs Simple Injector
Castle Windsor vs Simple Injector
DryIoc vs Ninject
Castle Windsor vs Scrutor
DryIoc vs LightInject