Xpode.com        Click here to Print this article.

QuestPond’s Interview Questions & Answers on Inversion of Control (IOC) in .NET

What is Dependency Injection?

Dependency Injection is the way of implementing (Inversion of Control)IOC.

Note: For more on Inversion of Control (IOC) read here.

It will performed with the help of IOC containers like unity, castle WINDSOR etc.

  • In Dependency Injection higher level module will contain reference of interface instead of concrete class. Example, Business class will contain reference to IExceptionLogger instead of direct FileLogger.
  • IOC container from outside initializes this reference at runtime.

Click to read in more details about Dependency Injection (DI) VS Inversion of Control (IOC)

For technical trainings on various topics like WCF (Windows Communication Foundation), MVC (Model View Controller), Business Intelligence, Design Patterns, WPF, TFS and Basic fundamentals feel free to contact SukeshMarla@Gmail.com or visit www.sukesh-marla.com

For more stuff like this, click here. Subscribe to article updates or follow at twitter @SukeshMarla

Click and see here for more learning Dependency Injection (DI) in .NET



http://
http://www.questpond.com/

Contributed by:
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site http://www.questpond.com for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers

Resourse address on xpode.com
http://xpode.com/xpodehost/Print.aspx?Articleid=773

Click here to go on website