• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 563
  • Last Modified:

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
0
ksd123
Asked:
ksd123
1 Solution
 
käµfm³d 👽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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now