Using Unity Framework in .NET

Hi ,

Briefly explain following questions,

1)what is Unity Framework?

2)How Unity Framework is related to Inversion of Control (IOC) ,Dependency Injection(DI),MVC,MVVM Design Patterns?

3)Can't we implement IOC,DI,MVC,MVVM design patterns without Unity Framework?

4)Real time scenarios when and why to use Unity Framework ?


Thanks in Advance
ksd123Asked:
Who is Participating?
 
käµfm³d 👽Connect With a Mentor Commented:
Mostly from http://msdn.microsoft.com/en-us/library/ff649614.aspx:

1)
The Unity Application Block (Unity) is a lightweight extensible dependency injection container with support for constructor, property, and method call injection.

2) Unity is a DI implementation. DI is a specialized version of IOC. MVC and MVVM often use such design patterns to simplify the structure (and testing) of their corresponding code bases.

3) Yes.

4) When you want to have loose coupling within a component-oriented design.
0
 
ksd123Author Commented:
Thank  you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.