https://github.com/dennisshevtsov/hangfire-sample
Hangfire+ASP.NET Core+PostgreSQL
https://github.com/dennisshevtsov/hangfire-sample
asp-net asp-net-core aspnetcore docker docker-compose dotnet dotnet-core dotnetcore hangfire hangfire-dotnet-core postgresql
Last synced: 6 months ago
JSON representation
Hangfire+ASP.NET Core+PostgreSQL
- Host: GitHub
- URL: https://github.com/dennisshevtsov/hangfire-sample
- Owner: dennisshevtsov
- License: mit
- Created: 2024-01-08T10:16:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T09:11:16.000Z (over 2 years ago)
- Last Synced: 2024-01-21T10:24:29.878Z (over 2 years ago)
- Topics: asp-net, asp-net-core, aspnetcore, docker, docker-compose, dotnet, dotnet-core, dotnetcore, hangfire, hangfire-dotnet-core, postgresql
- Language: C#
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hangfire Sample
This repository contains a minimal Hangfire project which shows how to integrate Hangfire with ASP.NET Core and PostgreSQL.
There is a docker compose file in the solution which has all required dependecies. You can run the sample on your enviroment running command `docker-compose up -d` in the root folder of the solution or using Visual Studio.
The project has two simple jobs. The background one will run in 10 seconds after the application starts. The recurring one runs every one minute. You can use Docker's or Visual Studio's log console to see that they works.