I am using Hangfire
in my ASP.NET Core application. It is still in development, now Every time I run the app I want Hangfire
to delete the old Database and create a new Database for each run.
Currently when I Run the application the Hangfire
Dashboard still shows old jobs even the ones that are no longer in my Code.
Is the something like below I can perform when configuring Hangfire
HangFirecontext.Database.EnsureDeleted();
HangFirecontext.Database.EnsureCreated();