Skip to content

a-pedroso/MediatRPostHandlerAudit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This solution is based on:

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.

Run Application

From your IDE run the app or at "\src\WebApi" on your shell of your choice type

dotnet run

After running app

WebPage Link
API - Swagger http://localhost:5272/swagger/index.html

CMD Curl

curl http://localhost:5272/weatherforecast 

Powershell Curl

curl http://localhost:5272/weatherforecast -UseBasicParsing

Technologies

  • .NET 6.0
  • ASP.NET Core 6.0
  • Swagger
  • CQRS with MediatR

License

This project is licensed with the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages