pattern Archives

Null Object Pattern in C#

Author - Webner
|
0 Comments
|

The null object pattern is designed to handle the null exception of objects without implementing too many null checks in the application. This is done by identifying the behaviour that should occur when a null is encountered and declaring a default object for that instance that should be passed when Read more…

Object Pool Design Pattern

Author - Webner
|
0 Comments
|

Definition

While building applications, there are objects that are expensive to build in terms of the system resources that they require. Creating such objects, again and again, will impact the overall performance of the application. To prevent the overall work of creating new objects, again and again, the Read more…

Repository Design Pattern in C#

Author - Webner
|
0 Comments
|

Introduction to Repository Design Pattern

There are many Design Patterns in .NET, for example, entity design pattern but to overcome some disadvantages of other patterns we prefer to use the Repository Design Pattern pattern. Nowadays, most applications need to access data from one or more than one data Read more…