Using Unity for IoC and DI

In this article I will try to describe all about using unity in our .NET projects and thus how to implement IoC (inversion of control) and DI(Dependency Injection). Description of the Objects Going straight to a class library project(.net) which will we follow through out this article. In the project we have a Book class […]

A simple container used in mvc web applications with DI(Dependency Injection)

If you have a good understanding of IoC(Inversion of Control), DI(Dependency Injection) and Multi-layer architecture then continue reading this article other wise have a look at this article – An idea of a three tier application using IoC(Inversion of Control), DI(Dependency Injection) and perfectly decoupled layers Container A ‘Container’ as the name implies – will […]

An idea of a three tier application using IoC(Inversion of Control), DI(Dependency Injection) and perfectly decoupled layers

Introduction: Lets start with a very basic conception in developing a three tier application. These kind of applications normally have three layers: Data access layer (DAL), Business logic layer(BLL) and the View or Presentation layer. The organization of the layers is like the picture bellow. In this organization the BLL is directly dependent on DAL […]