dotnet 8 | Web API | vertical slice architecture | CQRS | Mediatr
Retrive product by name and pagination Create product with validation Delete product by Id Implemented CQRS using Mediatr Uses HttpClientFactory with Singleton-configured baseURL
- dotnet 8
- ASP.net Core Web API
- Mediatr
- Swagger
- Clone the repository
- Build the application in VS2022
- Run the application
- Open Swagger at: http://localhost:{port}/swagger
- The request and response can be encrypted as payload using any encryption logic like AES or SHA256 Algorithm.
- The partners who are consuming the API can be authorised on the basis of partner, partner key and salt key provided to them. Action filter will be a good solution in code implementation.
- Serilog or NLog can be used for logging sensitive information.
- Exception can be handled using error handling middleware globally.
- Rate limiting can be implemented by using expiring JWT tokens.
- record based models
- Supports dynamic json data
- CQRS pattern with Mediatr