Добавлено: 29 ноября 2023 г.
Streamline Your .NET 8 Projects with the Power of MediatR and Blazor
In this article, I want to revisit how the Vertical Slice Architecture can be used. This article takes an in-depth look at feature slicing and its application to server-side rendered (SSR) .NET 8 Blazor pages without the need for a controller class. You’ll find clear explanations and practical advice on several key points:
An understanding of...
далее...
Добавлено: 26 октября 2023 г.
How to implement CQRS in ASP.NET using MediatR. A guided example using CQRS with separate Read and Write models using Enity Framework Core for Commands and Dapper for Queries.
When people think about CQRS they often think about complex, event-driven, distributed architectures with separate Read and Write databases. Using different databases for Read and Write means we can use a Polyglot Architecture, where we pick a database that perfectly fits the...
далее...
Добавлено: 11 апреля 2023 г.
Nowadays, everybody so concerned about DDD and how to implement business logic properly that people just forget about existence of other layers. Bada-bing bada-boom, other layers do exist.
Shocked, don’t ya? Take your sit, you will be even more shocked when you realize this story dedicated to Application layer, also known as the least popular layer.
I’ve seen multiple projects: some have it, some just don't understand what should be there and...
далее...
Добавлено: 7 февраля 2023 г.
NCrunch
NCrunch is a powerful tool that automates the testing and debugging of .NET and C# code. It integrates seamlessly into Visual Studio, allowing development teams to quickly identify and fix errors, ensuring that their projects are always of the highest quality.
NCrunch is designed to increase the productivity of development teams by automatically running tests in the background while developers work on their code. This ensures that all tests are run...
далее...
Добавлено: 2 января 2023 г.
In this article, we are going to discuss the working of CQRS and MediatR patterns and step-by-step implementation using .NET Core 6 Web API.
Agenda
Introduction of CQRS Pattern
When to use CQRS
MediatR
Step-by-step Implementation
Prerequisites
Visual Studio 2022
SQL Server
.NET Core 6
Introduction of CQRS Pattern
...
далее...
Добавлено: 24 апреля 2022 г.
What is MediatR? Why do we need it? And How to use it?
Mediator Pattern - The mediator pattern ensures that objects do not interact directly instead of through a mediator. It reduces coupling between objects which makes it easy to maintain the code. Mediator pattern unified the service interfaces around a common design, one request in, one response out.
MediatR is a simple, unambitious mediator implementation in .NET.
Let’s now dive deeper...
далее...