/Sample-JobConsumers

Sample showing how to use job consumers with RabbitMQ, EF Core, and Postgres

Primary LanguageC#Apache License 2.0Apache-2.0

Job Consumer Sample

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

Read more here: https://learn.microsoft.com/en-us/aspnet/core/security/docker-compose-https?view=aspnetcore-6.0#starting-a-container-with-https-support-using-docker-compose

Use the docker-compose.yml file to startup JobService, RabbitMQ and Postgres. Or run docker compose up --build.
Navigate to https://localhost:5001/swagger to post a video to convert.

Supports local debugging from VS/Rider. Ctrl + F5 and navigate to:
http://localhost:5002/swagger
https://localhost:5003/swagger

Enjoy the show!