IoC.Container
1.1.14
.NET Core 1.0
.NET Standard 1.0
.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package IoC.Container --version 1.1.14
NuGet\Install-Package IoC.Container -Version 1.1.14
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IoC.Container" Version="1.1.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IoC.Container --version 1.1.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IoC.Container, 1.1.14"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install IoC.Container as a Cake Addin
#addin nuget:?package=IoC.Container&version=1.1.14
// Install IoC.Container as a Cake Tool
#tool nuget:?package=IoC.Container&version=1.1.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
IoC.Container provides the following benefits and features
Flexible Bindings
- Autowiring
- Aspect oriented autowiring
- Generic types bindings and easy generic types mapping
- Named/tagged dependencies
- Containers hierarchy
- Compile-time verification
- Bindings via text metadata
- Easy extensible set of lifetimes
- Binding to
- Supports validation
Powerful dependency injection
- Through
- Сonstructors
- Methods
- Properties
- Fields
- Injection of composed dependencies
- Detailed diagnostics information
Incredible Performance
- One of the fastest, almost as fast as operator
new
- Uses expression trees to produce the effective injection code without any superfluous operations like a
boxing
,unboxing
orcast
- Minimizes memory traffic
Fully Customizable
- Custom containers
- Custom lifetimes
- Replacing predefined lifetimes
- Custom builders
- Invocations' interceptors
Asynchronous
Design Aspects
- Allows to preserve an original design of code and to minimize the impact of the Inversion of Control approach
- Aggregates features into dedicated configuration classes
- Modifiable on-the-fly
- Free from external dependencies like other frameworks or assemblies
- Embedding packages allow to use all these features without referencing on additional assemblies
Easy Integration
- ASP.NET Core
- Windows Presentation Foundation
- .NET core Windows Presentation Foundation
- Universal Windows Platform
- Windows Communication Foundation
- Entity Framework
Supported Platforms
- .NET 4.0+
- .NET Core 1.0+
- .NET Standard 1.0+
- UWP 10+
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wp8 wp81 wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 1.0
- Microsoft.NETCore.App (>= 1.0.5)
-
.NETCoreApp 1.1
- Microsoft.NETCore.App (>= 1.1.2)
-
.NETCoreApp 2.0
- No dependencies.
-
.NETCoreApp 2.1
- No dependencies.
-
.NETCoreApp 2.2
- No dependencies.
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.1
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.2
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.4
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.5
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 1.6
- NETStandard.Library (>= 1.6.1)
-
.NETStandard 2.0
- No dependencies.
-
UAP 10.0
- Microsoft.NETCore.UniversalWindowsPlatform (>= 6.1.9)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on IoC.Container:
Package | Downloads |
---|---|
TeamCity.VSTest.TestAdapter
Provides an integration TeamCity and test frameworks. Usage: - Create a test project, for example using the command line: dotnet new xunit - Add the NuGet reference to this package |
|
IoC.AspNetCore
AspNetCore feature for expressions based Inversion of Control container for .NET. |
|
IoC.Interception
Interception feature for expressions based Inversion of Control container for .NET. |
|
BlingCode.Core
Package Description |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on IoC.Container:
Repository | Stars |
---|---|
Reloaded-Project/Reloaded-II
Next Generation Universal .NET Core Powered Mod Loader compatible with anything X86, X64.
|
|
DevTeam/Pure.DI
Pure DI for .NET without frameworks!
|
Version | Downloads | Last updated |
---|---|---|
1.3.8 | 2,624 | 1/14/2023 |
1.3.7 | 1,508,352 | 12/2/2021 |
1.3.6 | 1,368,497 | 7/12/2021 |
1.3.4 | 640,443 | 2/16/2021 |
1.3.3 | 618,614 | 11/11/2020 |
1.3.2 | 482,604 | 7/10/2020 |
1.3.0 | 624,775 | 4/29/2020 |
1.2.2 | 358,555 | 2/6/2020 |
1.2.0 | 112,555 | 12/22/2019 |
1.1.15 | 310,232 | 9/24/2019 |
1.1.14 | 1,227,652 | 3/21/2019 |
1.1.12 | 141,530 | 2/5/2019 |
1.1.11 | 163,567 | 10/27/2018 |