We are leaving Russia. We are against aggression and war with Ukraine. It is a tragedy for our nations, it is a nightmare

Use Hangfire with Entity Framework Core


I need to create a DBContext for Hangfire and use its tables as DBSet to get some reporting.
Any idea please how to reach that ?


This is referred to as “database first.” You create the db context from an existing database. Not sure what you’re looking to do. By default, completed jobs aren’t stored in the database for very long.

Thank you aschenta.