Castle Windsor is a best of breed, mature Inversion of Control container available for .NET.
See the documentation.
See the releases.
Castle Windsor is © 2004-2023 Castle Project. It is free software, and may be redistributed under the terms of the Apache 2.0 license.
If you would like to use preview NuGet's from our CI builds on AppVeyor, you can add the following NuGet source to your project:
https://ci.appveyor.com/nuget/windsor-qkry8n2r6yak
The following conditional compilation symbols are currently defined for Windsor:
Symbol | .NET 4.6.2 | .NET Standard / 6 |
---|---|---|
FEATURE_APPDOMAIN |
✅ | 🚫 |
FEATURE_ASSEMBLIES |
✅ | 🚫 |
FEATURE_PERFCOUNTERS Â Â Â Â Â Â |
✅ | 🚫 |
FEATURE_REMOTING |
✅ | 🚫 |
FEATURE_SECURITY_PERMISSIONS |
✅ | 🚫 |
FEATURE_SERIALIZATION |
✅ | 🚫 |
FEATURE_SYSTEM_CONFIGURATION |
✅ | 🚫 |
FEATURE_APPDOMAIN
- enables support for features that make use of an AppDomain in the host.FEATURE_ASSEMBLIES
- usesAssemblyName.GetAssemblyName()
andAssembly.LoadFile()
.FEATURE_PERFCOUNTERS
- enables code that uses Windows Performance Counters.FEATURE_REMOTING
- supports remoting on various types including inheriting fromMarshalByRefObject
.FEATURE_SECURITY_PERMISSIONS
- enables the use of CAS andSecurity[Critical|SafeCritical|Transparent]
.FEATURE_SERIALIZATION
- enables support for serialization of dynamic proxies and other types.FEATURE_SYSTEM_CONFIGURATION
- enables features that useSystem.Configuration
and theConfigurationManager
.
The following conditional compilation symbols are defined for tests only under .NET 4.6.2:
FEATURE_CODEDOM
- enables code that usesSystem.CodeDom
.FEATURE_CONSOLETRACELISTENER
- enables code that requiresSystem.Diagnostics.ConsoleTraceListener
.FEATURE_THREADABORT
- enables code that usesThread.Abort()
.FEATURE_WPF
- enables code that usesPresentationCore.dll
.