Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 394 Bytes

File metadata and controls

15 lines (7 loc) · 394 Bytes

Dependency-Injection-Unity-ASP.NET-MVC-5

#Here I have used Unity for MVC

The Dependency Injection Lifecycle: Register, Resolve, Dispose

You will get Repository which is resolve in App_start UnityConfig.cs

Depdency activated in Global.asax.cs

You will get all the instance in the constructor parameter of any class

which increase the reuse of code and clean the development lifecycle.