Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm trying to get Hangfire working with U9 on the cloud.
I followed the guide:
But i'm facing a issue (InvalidOperationException: The ConnectionString property has not been initialized.)
public void ConfigureServices(IServiceCollection services)
services.AddHangfire(c => c.UseSqlServerStorage(_config.GetConnectionString("umbracoDbDSN")));
public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IBackgroundJobClient backgroundJobClient, IRecurringJobManager recurringJobManager, IHangfireTasks hangfireTasks)
app.UseHangfireDashboard("/hangfire", new DashboardOptions()
AppPath = null,
DashboardTitle = "Hangfire Dashboard"
// Recurring Job for every 1 min
recurringJobManager.AddOrUpdate("TestScheduledTask : Runs Every 1 Min", () => hangfireTasks.TestScheduledTask(), Cron.Minutely);
The tables has been created in the DB.
Did you had a look at the package from Sebastiaan here?
Specifically regarding this line to set JobStorage.Current. I haven't looked at Hangfire in Umbraco 9 yet, but hopefully it will help :)
Thanks, I will try to look at that :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted