skazantsev / Hangfire.MongoSample

Repository from Github https://github.comskazantsev/Hangfire.MongoSampleRepository from Github https://github.comskazantsev/Hangfire.MongoSample

Sample of using Hangfire with Mongo persistence

How to run

  1. Start MongoDB
cd docker
docker-compose up -d
  1. Run multiple app instances
cd src
start powershell -ArgumentList "dotnet run --urls=http://localhost:5000"
start powershell -ArgumentList "dotnet run --urls=http://localhost:5001"
start powershell -ArgumentList "dotnet run --urls=http://localhost:5002"
  1. Use Swagger UI to create new jobs.
explorer http://localhost:5000/swagger
  1. Monitor jobs using Hangfire UI
explorer http://localhost:5000/hangfire

About


Languages

Language:C# 100.0%