MediatRAndRecordTypes
An example of how you can combine MediatR and Record types to build an api in the CQRS pattern with relatively minimal code.
Install / Use
/learn @QuinntyneBrown/MediatRAndRecordTypesREADME
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! :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
- Download and install the .NET Core SDK
- If you don't have
localdbavailable on your system, Download and install SQL Server Express
- If you don't have
- Open a terminal such as PowerShell, Command Prompt, or bash and navigate to the
src/MediatRAndRecordTypes.Apifolder - Run the following
dotnetcommands:
dotnet build
dotnet run
- Open your browser to:
https://localhost:5001.
To Run the Integration tests
- Download and install the .NET Core SDK
- If you don't have
localdbavailable on your system, Download and install SQL Server Express
- If you don't have
- Open a terminal such as PowerShell, Command Prompt, or bash and run the following command:
dotnet test
