Dependency Injection in C# .NET

Friday, January 20th, 2012  »  Posted By  »  Total 8 Comments

Dependency injection basically allows us to create loosely coupled, reusable, and testable objects in your software designs by removing dependencies. We will take a look into the Object dependencies before digging in more. Consider a scenario of fetching an employee details and show display in UI. Let us say create a Business logic layer class […]

Delegate and Events in C# .NET

ClassDiagram of Logger Application Sunday, January 15th, 2012  »  Posted By  »  Total 0 Comment

Delegates A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which […]

Introduction to Automapper

Monday, January 2nd, 2012  »  Posted By  »  Total 0 Comment

Introduction AutoMapper is an object-object mapper. Object-object mapping works by transforming an input object of one type into an output object of a different type. When to use Automapper? Here is one Sample scenario. Assume we have a domain model say a Customer entity and we are planning to show a list of Customers in […]

3-Tier Architecture in .NET

3-Tier Architecture in .NET Sunday, January 1st, 2012  »  Posted By  »  Total 0 Comment

3-Tier architecture generally contains User Interface (UI) or Presentation Layer, Business Access/Logic Layer (BAL) and Data Access Layer (DAL).

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup