The idea of leverage MediatR IRequestPostProcessor in order to audit every action done applying template method pattern. This way we centralize and standardize how audit is done only by implementing an abstract class per IRequest. Also, this solution applies clean architecture over the default template WeatherForecast.
From your IDE run the app or at "\src\WebApi" on your shell of your choice type
dotnet run
| WebPage | Link |
|---|---|
| API - Swagger | http://localhost:5272/swagger/index.html |
curl http://localhost:5272/weatherforecast
curl http://localhost:5272/weatherforecast -UseBasicParsing
- .NET 6.0
- ASP.NET Core 6.0
- Swagger
- CQRS with MediatR
This project is licensed with the MIT license.