This is a proof of concept for a .NET 10 Api using
- CQRS
- DDD and Hexagonal Architecture : "Plug and Play" Driven Adapters are loaded at runtime from config, through reflection
- BDD
- Kafka Event production
- Out of the box from a docker container
- Mediatr, AutoMapper, Reqnroll (xUnit)
- A Background Service to dispatch asynchronous commands
- Middleware implementation
- Api Versionning
- Open Api documentation
- Install the latest version of Docker for Windows
- If needed, install the update package WSL2 for x64 machines
- If needed, enable virtualization on windows
- Set docker-compose as startup project
- Build the solution and run docker-compose
- Wait docker to download the images
- API is running on
localhost:55000 - Kafka (lenses.io) is running on
localhost:3030(you can observe ConsumerCreated and ConsumerUpdated events in the Consumer topic after executing the related request) - SQL Server is running on
localhost, 1433- logins are set in the docker-compose.yml file. It uses the default System Database "master"
- Using Postman
- Postman Collection