C#

What is CQRS?

CQRS (*Command Query Responsibility Segregation*) specifies that
different data models should be used to for updating the database and read
from the database. Command and Query are two operations which infer read and
write respectively

How to use MediatR Pipeline Behaviours

MediatR Pipeline behaviours were introduced in Version 3, enabling you execute validation or logging logic before and after your Command or Query Handlers execute, resulting in your handlers only having to deal with Valid requests in your CQRS implementation

Rider

How to run docker compose files in Rider

JetBrains Rider provides Docker support using the Docker plugin. The plugin is bundled and enabled by default. For more information. In this post we’ll walk through the process of running a docker compose files in Rider.

The Mediator Pattern

Mediator pattern is used to reduce communication complexity between multiple objects or classes. The pattern provides a mediator class which handles all the communications between different classes and supports easy maintenance of the code by loose coupling.

How services work in Dapr

how to implement services and invoke them from other applications, which can be either aware of Dapr as they rely on its SDK or unaware of the presence of Dapr as they just invoke a local HTTP endpoint

How to create project templates in .net core

The simplicity of the .net core packing and publishing tool, enables you simply use what you’re already doing to make doing what you’re already doing faster. No need to learn a new complex template language.

Implementing logging with Serilog

ASP.NET Core includes some basic logging providers, but to get the most out of it you’ll need to plug in a full logging framework like Serilog – simple .NET logging with fully-structured events.

Getting started with .net core microservices with dapr

Dapr is an event-driven, portable runtime created by Microsoft as an open source initiative. Due to the fact that Dapr is event-driven it plays an important role in microservices as the applications can be designed to efficiently react to events from external systems or other parts of the solution, and also produce events in order to inform other services of new facts to continue their processing.

How to use Cake with Rider

Cake is a build automation system for .NET Developers to script their build processes using a C# Domain Specific Language (DSL). In this post, we’ll explore the benefits of Cake and its major features with a concrete working example to achieve a flexible, maintainable, automated build process.

Developing Api’s using Http Endpoints

MVC Controllers are essentially an anti-pattern. They’re dinosaurs. They are collections of methods that never call one another and rarely operate on the same state. They’re not cohesive.

The Prototype Design Pattern C# .net core

The Prototype Design Pattern is one of the Creational Design Patterns defined by the Gang Of Four (GOF) published their book Design Patterns: Elements of Reusable Object-Oriented Software in which they presented a catalog of simple and succinct solutions to commonly occurring design problems.

The Builder Pattern .net core

Builder Pattern is useful for encapsulating and abstracting the creation of objects. It is distinct from the more common Factory Pattern because the Builder Pattern contains methods of customising the creation of an object.