IoC.Configuration 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package IoC.Configuration --version 2.0.0
NuGet\Install-Package IoC.Configuration -Version 2.0.0
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.Configuration" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IoC.Configuration --version 2.0.0
#r "nuget: IoC.Configuration, 2.0.0"
#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.Configuration as a Cake Addin
#addin nuget:?package=IoC.Configuration&version=2.0.0

// Install IoC.Configuration as a Cake Tool
#tool nuget:?package=IoC.Configuration&version=2.0.0

Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io.

Source code can be found at https://github.com/artakhak/IoC.Configuration.

There is a test project IoC.Configuration.Tests at this location, demonstrating how to do file and code based configuration of dependency injection (the examples use IoC.Configuration.Autofac and IoC.Configuration.Ninject extensions available in NuGet). The test project has a sample XML configuration file for type bindings (and for providing some other functionality), which demonstrates most features of IoC.Configuration. The sample configuration file can be downloaded at https://github.com/artakhak/IoC.Configuration/blob/master/IoC.Configuration.Tests/IoCConfiguration_Overview.xml.

The XML configuration file is validated against schema file IoC.Configuration.Schema.2F7CE7FF-CB22-40B0-9691-EAC689C03A36.xsd. The schema file along with a template XML configuration file can be found in folder IoC.Cnfiguration.Content in package directory or at https://github.com/artakhak/IoC.Configuration/tree/master/IoC.Configuration/IoC.Configuration.Content.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on IoC.Configuration:

Package Downloads
IoC.Configuration.Autofac

An Autofac extension for IoC.Configuration 2. Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io Look at http://iocconfiguration.readthedocs.io/

IoC.Configuration.Ninject

A Ninject extension for IoC.Configuration 2. Source code can be found at https://github.com/artakhak/IoC.Configuration Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io Look at http://iocconfiguration.readthedocs.io/

IoC.Configuration.Extensions

An extension for IoC.Configuration library at https://www.nuget.org/packages/IoC.Configuration/. Detailed documentation on IoC.Configuration is available at http://iocconfiguration.readthedocs.io.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 1,288 4/10/2022
2.0.2 911 3/17/2019
2.0.1 834 3/17/2019
2.0.0 1,439 2/27/2019
1.0.6 1,156 6/12/2018
1.0.5 1,118 6/11/2018
1.0.4 1,139 6/5/2018
1.0.3 2,274 5/9/2018
1.0.2 1,149 5/9/2018
1.0.1 1,720 4/18/2018
1.0.0 1,258 4/18/2018
1.0.0-beta4 940 4/4/2018
1.0.0-beta3 940 4/2/2018
1.0.0-beta2 1,272 4/1/2018
1.0.0-beta 864 4/1/2018

- Changes to make the assembly attribute a non-required attribute in elements that use these attribute (the type referenced by element will be looked up in all assemblies in assemblies element).

- Added elements typeDefinitions and typeDefinition, to declare C# type references to be re-used in configuration file (can be used in both non-plugin and plugin sections).
 Types in typeDefinition elements are referenced using attributes like typeRef, interfaceRef, SerializerAggregatorTypeRef, ItemTypeRef, ReturnTypeRef, DeclaringClassRef, etc.
 Look at test configuration file IoCConfiguration_GenericTypesAndTypeReUse.xml and tests in folder GenericTypesAndTypeReUse.
 

- Support for generic types and array types in elements that reference C# types (this includes also the typeDefinition element).
 Look at test configuration file IoCConfiguration_GenericTypesAndTypeReUse.xml and tests in folder GenericTypesAndTypeReUse.
 

- Added element more flexible autoService to replace deprecated element typeFactory. Element autoService can be used to auto-implement interface properties, as well methods with almost any signatures (as well as multiple overloads of the method).
 Look at configuration file IoCConfiguration_autoService.xml and tests in folder AutoService.
 

- Added element collection to specify collection items in configuration file.
 Look at configuration file IoCConfiguration_collection.xml and tests in folder Collection.
 

- Added element classMember and "_classMember:" prefix in "if" elements under autoMethod elements to reference static and non-static class members, as well as enum values in configuration file.
 Look at configuration file IoCConfiguration_classMember.xml and tests in folder ClassMember.
 

- Added element settingValue to reference setting values in configuration file.
 Look at configuration file IoCConfiguration_settingValue_ReferencingInConfiguration.xml and tests in folder SettingValue.
 

- Added element constructedValue to support specifying object constructor parameters as well as property values anywhere that is applicable (settings section, in collections, in auto implemented methods and properties, etc).
 Look at configuration file IoCConfiguration_constructedValue.xml and tests in folder ConstructedValue.
 

- Added element proxyService to re-use the implementation of one service by other services as well.
 Look at configuration file IoCConfiguration_proxyService.xml and tests in folder ProxyService.
 

- Added element valueImplementation to provide implementation as a value. Example is using a classMember, or settingValue elements to provide an
 implementation for a service.
 Look at configuration file IoCConfiguration_valueImplementation.xml and tests in folder ValueImplementation.
 

- Fixed some minor bugs.


Look at documentation at https://iocconfiguration.readthedocs.io/ or at the configuration files and tests that use these configuration files at https://github.com/artakhak/IoC.Configuration/tree/master/IoC.Configuration.Tests.
Note, IoC.Configuration V2 changes are not yet included in documentation site at https://iocconfiguration.readthedocs.io/, however will be available soon.