Category Archives: Design and Architecture

Onion architecture with MVC using repository pattern

Finally i am up with my article related to onion architecture. The main aim of this article is try to learn the onion architecture and have a sample sample code which is loosely coupled and easily maintainable. So to learn this concept efficiently, our … Continue reading

Posted in Design and Architecture | Tagged | Leave a comment

Tell, Don’t Ask design principle using C#

In this article, we will be discuss about a design principle called Tell, Don’t Ask. This principle is aimed at designing the classes in such a way that, when they are used, instead of querying the state of its object/instance and performing … Continue reading

Posted in Design and Architecture | Leave a comment

Getting started with Repository pattern using C#

In this article, we will discuss about the repository pattern and will create a simple example to get the basic working of this pattern. To understand why we should be using this pattern, let’s take example of an MVC application, using the … Continue reading

Posted in Design and Architecture, Design Patterns | Tagged | Leave a comment

Unit of Work in Repository Pattern

Unit of Work is the concept related to the effective implementation of the repository pattern. To understand this concept in better way, it is important to know the concept of repository pattern. We will not get into the details of … Continue reading

Posted in Design and Architecture | Leave a comment

Dependency Injection using Property in C# – Part 4

This is the final article in the series of articles, based on concept of dependency injection and how we can implement. This will be the concept of using Property injection, to inject the dependency to a dependent component. If you would like to start … Continue reading

Posted in Design and Architecture | Tagged | Leave a comment