Blog

API Gateway in .NET 5 with Ocelot

What is the API gateway? An API gateway is an API management tool that sits between the client and a collection of backend services. The client doesn’t need to know the backend service architectures. When a gateway way is used, it becomes the single point of the contract for clients; it receives the API calls…

More

.NET 5 application with Onion architecture

The .NET 5 SDK is a kind of milestone in the .NET world. The .NET 5 include the .NET Core SDK characters and the .NET 4.8 SDK characters, which are the MVC pattern. These have slight differences, but it is still a good choice from the enterprise viewpoint because the .NET 5 SDK is a…

More

SOLID Principles – Dependency inversion principle

In object-oriented design, the dependency inversion principle is a specific methodology for loosely coupling software modules. When following this principle, the conventional dependency relationships established from high-level, policy-setting modules to low-level, dependency modules are reversed, thus rendering high-level modules independent of the low-level module implementation details. from Wiki The dependency inversion principle(DIP) states: Both high-level…

More

SOLID Principles – Interface segregation principle

In the field of software engineering, the interface segregation principle (ISP) states that no code should be forced to depend on methods it does not use. From Wiki The interface segregation principle (ISP) states that no-client should be forced to depend on the methods or the objects it doesn’t use. ISP splits interfaces that are…

More

SOLID Principles – Liskov substitution principle

Subtype Requirement: Let  be a property provable about objects  of type T. Then  should be true for objects  of type S where S is a subtype of T. From Barbara Liskov and Jeannette Wing described the principle succinctly in a 1994 paper. The Liskov substitution principle (LSP) idea starts from “Data abstraction and hierarchy” that was initially introduced by Barbara Liskov in a 1988 conference…

More

SOLID Principles – Open-closed principle

In object-oriented programming, the open–closed principle states “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification” that is, such an entity can allow its behavior to be extended without modifying its source code. Wiki – Open closed principle The open-closed principle (OCP) is one of the SOLID principles which…

More

SOLID Principles – Single-responsibility principle

The single-responsibility principle (SRP) is a computer-programming principle that states that every module, class or function in a computer program should have responsibility over a single part of that program’s functionality, and it should encapsulate that part. All of that module, class or function’s services should be narrowly aligned with that responsibility. Wiki The single-responsibility…

More

Microservices – Command and Query Responsibility Segregation(CQRS)

Command query responsibility segregation (CQRS) generalizes CQS to message-driven and event-driven architectures: it applies the CQS principle by using separate Query and Command messages to retrieve and modify data, respectively. Wiki The Command query responsibility segregation(CQRS) is by two elements combination. The first element is Command-query separation(CQS), an imperative computer programming principle from developing the Eiffel programming language by Bertrand Meyer. Every method should…

More

Microservices – Domain-driven design(DDD)

Domain-driven design (DDD) is a software design approach focusing on modelling software to match a domain according to input from that domain’s experts Wiki Domain-driven design(DDD) is a fundamental software strategy in the standard web application, which focuses on modeling software to match a domain according to input from that domain’s experts. Domain-driven design is…

More

Microservices – Onion architecture

A microservice architecture – a variant of the service-oriented architecture (SOA) structural style – arranges an application as a collection of loosely-coupled services. Wiki The microservices keyword is very hot keyword in recent years, that is kind of a variant of the service-oriented architecture(SOA) structural style. It can find out the microservices keyword has a…

More

Something went wrong. Please refresh the page and/or try again.


Follow My Blog

Get new content delivered directly to your inbox.