Skip to content

markgamal32/CQRS-and-mediatR---Net-Core-8--minimal-Api

Repository files navigation

CQRS with MediatR and EF Core in .NET Core 8

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.

Technologies Used:

  • .NET Core 8
  • MediatR for handling commands and queries
  • Entity Framework Core with an in-memory database
  • CQRS Pattern Screenshot 2024-09-05 195847

Getting Started

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/cqrs-mediatr-demo.git
    cd cqrs-mediatr-demo
  2. Build the project:

    dotnet build
  3. Run the application:

    dotnet run

Running the Tests

The application contains unit tests that can be run with:

dotnet test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages