Chuyển đến nội dung
Thẻ

Design Patterns

5 bài viết

Strategy Pattern in ASP.NET Core
.NET Core 22 thg 10, 2026 10 phút đọc

Strategy Pattern in ASP.NET Core

Let’s say you are implementing an online eCommerce shop checkout page and you have been told to implement a feature that will allow customers to choose one of the multiple shipping methods. Each shipping method can have different logics ...

Lưu bởi: Huy Vũ
Singleton Design Pattern in C#
.NET Core 22 thg 10, 2026 2 phút đọc

Singleton Design Pattern in C#

The singleton pattern is one of the most known and easiest design patterns in software engineering. In simple words, a singleton is a class which only allows a single instance of itself to be created. There are various different ways to ...

Lưu bởi: Huy Vũ
Observer Design Pattern in ASP.NET Core
.NET Core 13 thg 10, 2026 13 phút đọc

Observer Design Pattern in ASP.NET Core

Post author:Waqas Anwar Post category:ASP.NET Core / Design Patterns Post published:August 22, 2021 Imagine you are building a modern event driven application for a news agency that notifies multiple news channels, online websites, and m...

Lưu bởi: Huy Vũ
Builder Design Pattern in ASP.NET Core
.NET Core 13 thg 10, 2026 16 phút đọc

Builder Design Pattern in ASP.NET Core

Post author:Waqas Anwar Post category:ASP.NET Core / Design Patterns Post published:August 29, 2021 Imagine you are building an application that requires the construction of a complex object which has many fields and nested objects that ...

Lưu bởi: Huy Vũ