GitHunt
QU

QuinntyneBrown/MediatRAndRecordTypes

An example of how you can combine MediatR and Record types to build an api in the CQRS pattern with relatively minimal code.

MediatR and Record Types

An example of how you can combine MediatR and Record types to build an api in the CQRS pattern with relatively minimal code.

Give a Star! ⭐

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

How to run locally

  1. Download and install the .NET Core SDK
  2. Open a terminal such as PowerShell, Command Prompt, or bash and navigate to the src/MediatRAndRecordTypes.Api folder
  3. Run the following dotnet commands:
dotnet build
dotnet run
  1. Open your browser to: https://localhost:5001.

To Run the Integration tests

  1. Download and install the .NET Core SDK
  2. Open a terminal such as PowerShell, Command Prompt, or bash and run the following command:
    dotnet test

Languages

C#99.7%PowerShell0.3%

Contributors

Created December 6, 2020
Updated March 6, 2025
QuinntyneBrown/MediatRAndRecordTypes | GitHunt