This project is a simple demonstration of implementing the CQRS (Command Query Responsibility Segregation) pattern using MediatR, EF Core, and In-Memory Database in .NET Core 8. The project provides a sample application showcasing the benefits of the CQRS pattern in a .NET environment.
- .NET Core 8
- MediatR for handling commands and queries
- Entity Framework Core with an in-memory database
- CQRS Pattern
-
Clone the repository:
git clone https://github.com/your-username/cqrs-mediatr-demo.git cd cqrs-mediatr-demo
-
Build the project:
dotnet build
-
Run the application:
dotnet run
The application contains unit tests that can be run with:
dotnet test