Sample showing how to use job consumers with RabbitMQ, EF Core, and Postgres
- stars
- 50
- watchers
- 6
- forks
- 38
- open issues
- 0
- Last updated
- 10/23/2025
Sample showing how to use job consumers with RabbitMQ, EF Core, and Postgres
Generate certificate and configure local machine:
PC:
dotnet dev-certs https --clean dotnet dev-certs https -ep "$env:USERPROFILE\.aspnet\https\aspnetapp.pfx" -p Passw0rd dotnet dev-certs https --trust
MAC:
dotnet dev-certs https --clean
dotnet dev-certs https -ep ~/.aspnet/https/aspnetapp.pfx -p Passw0rd
dotnet dev-certs https --trust
Use the docker-compose.yml file to startup JobService, and PostgreSQL. Or run docker compose up --build.
Navigate to https://localhost:5003/swagger to post a video to convert.
The SQL transport is using PostgreSQL in this scenario. To use SQL Server, switch to the sql-server branch.
Supports local debugging from VS/Rider. Ctrl + F5 and navigate to:
http://localhost:5002/swagger
https://localhost:5003/swagger
Enjoy the show!