Author: Marinko Spasojevic

C# Design Patterns – Command

The Command pattern is a behavioral design pattern that we can use to turn a request into an object which contains all the information about the request. The Command design pattern is quite popular in C#, especially when we want to delay or queue a request’s execution or when we want to keep track of our operations. Furthermore, this possibility to keep track of our operations gives us the opportunity to undo them as well. Builder Design Pattern and Fluent Builder Fluent Builder Interface With Recursive Generics  Faceted Builder  Factory Method  Singleton  Adapter Composite Decorator Command (Current article) Strategy...

Read More

C# Design Patterns – Decorator

In this article, we are going to talk about another structural C# design pattern, the Decorator Design Pattern. We are going to learn, how to implement this pattern in our project and what we can get by doing that. Builder Design Pattern and Fluent Builder Fluent Builder Interface With Recursive Generics  Faceted Builder  Factory Method  Singleton  Adapter Composite Decorator (Current article) Command Strategy This article is part of the series The source code is available at the Decorator Design Pattern – Source Code. For the main page of this series check out C# Design Patterns. This article is divided...

Read More

Basic Tips and Tricks to Boost Productivity in Visual Studio

Visual Studio is a Microsoft IDE that is used by many developers worldwide every day. It is a great tool that provides a lot of interesting and very useful features to make a developer’s life a lot easier, but often, especially when we are new to the IDE we don’t utilize its full power. .NET Core Tutorial Implementing Action Filters in ASP.NET Core How to Easily Create a PDF Document in ASP.NET Core Web API C# Basics Tutorial ASP.NET Core Authentication with JWT and Angular Recommended Articles In this article, we are going to talk about some of these...

Read More

C# Design Patterns – Composite

The Composite design pattern is a structural design pattern which allows us to compose objects into a tree structure and then work with that structure as if it is a single object. That also means using the Composite design pattern makes sense when the part of our app can be represented as a tree. In this article, we are going to learn how to implement the Composite Design Pattern into our project and what are its benefits. Builder Design Pattern and Fluent Builder Fluent Builder Interface With Recursive Generics  Faceted Builder  Factory Method  Singleton  Adapter Composite (Current article) Decorator...

Read More

C# Design Patterns – Adapter

The Adapter design pattern is a structural pattern which allows incompatible interfaces to work together. By doing so, we allow objects from different interfaces to exchange data. In this article, we are going to learn how to implement the Adapter pattern into our project and when should we use it. Builder Design Pattern and Fluent Builder Fluent Builder Interface With Recursive Generics  Faceted Builder  Factory Method  Singleton  Adapter (Current article) Composite Decorator Command Strategy This article is part of the series The source code is available at the Adapter Design Pattern – Source Code. For the main page of this...

Read More