Using Unity Container

The Unity container has been in place for quite a few years now. Somehow, it was the official Microsoft external container and has been linked to the Patterns & Practices initiative for many years.

Please note that Unity is not an official Microsoft product or does not belong to the Patterns & Practices team anymore. The project has been redirected to other people (Pablo Cibraro and Pedro Wood), as Immo Landwerth published in .NET Blog in 2015 (, commenting: "Dependency injection containers for .NET have continued to mature and evolve significantly. In addition, open source components are now more accepted. The need for having an "official" container ...

Get Dependency Injection in .NET Core 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.