IoC container for .NET (C#) Lightweight. XML-configurable. Very fast.
- Configurable with Spring-like XML syntax
- Supports constructor and setter injections
- Effectively handles large XML configurations (25 Mb and bigger)
- Fast: >100,000 object instantiations per second
- Supports multi-file configurations with Mvp.Xml XInclude implementation
- Really lightweight: all you need is one assembly (55kb!)
- Free and open source (LGPL)
how to use
- Install NI.Ioc nuget package
using NI.Ioc; ... var config = new XmlComponentConfiguration(xmlConfigString); IComponentFactory ioc = new ComponentFactory(config); var sb = ioc.GetComponent<StringBuilder>("sb1");
XML configuration example
Refund policy. If you are not satisfied with your purchase, within 30 days from the purchase date, we will fully refund the cost of your order.