Validation with FluentValidation on Commands in .NET (CreatePostCommandValidator)
How to efficiently validate orders in .NET using FluentValidation: clear rules for writing only, without affecting reading.
Citește mai multHow to efficiently validate orders in .NET using FluentValidation: clear rules for writing only, without affecting reading.
Citește mai multAt this stage, we begin the practical implementation of the CQRS pattern in .NET. You will learn how to install MediatR, create the first commands and queries, and how to use IRequest<T> to completely separate writing from reading in a clean and scalable project.
Citește mai multIn this first article of the series dedicated to the CQRS pattern in .NET, we explore the architectural fundamentals and the advantages of separating responsibilities between commands and queries. Discover how to structure a modern project using CQRS and DDD for clarity, scalability, and efficient maintenance.
Citește mai multWe conclude this series with two essential components for any real application: cloud deployment and a candid reflection on the lessons learned. We discuss hosting options for React and the .NET API and extract best practices from the DDD architecture applied in the project.
Citește mai multComments, relationships between entities, pagination, cover image upload, and SEO: everything you need for a modern blog with React and .NET Core.
Citește mai multIn this article, we learn how to secure a blog using JWT authentication, implementing ASP.NET Core Identity, and how to manage login and tokens in React. We will explore modern concepts of authorization and resource protection.
Citește mai mult.NET 10 Preview 5 brings improvements for AOT, trimming, performance, and extended support for cloud-native scenarios. Discover what's new in this preview.
Citește mai multWrite automated tests in React and .NET: unit tests, integration tests, WebApplicationFactory, React Testing Library, Vitest. A practical guide for modern applications.
Citește mai mult