Microsoft Unity in Web Applications

By | May 3, 2017

The Unity Application Block (Unity) is a lightweight container for dependency injection. Using DI frameworks developers can generate and assemble instances of custom classes and objects that can contain dependent object instances and settings.

1. Constructor injection
2. Method call injection
3. Property injection

It helps developers with the following features :

Simplifies code
Specify dependencies at run time

Using NuGet we can add Unity Boot Strapper to our project.

Leave a Reply

Your email address will not be published. Required fields are marked *