Hi,
I’m trying to implement Hangfire with servicebus on Azure.
I did as following:
var sqlStorage = new SqlServerStorage(keyVaultServiceConfiguration.GetSection(“ServiceConfiguration”)[“HangfireSqlServerConnectionString”]);
sqlStorage.UseServiceBusQueues(
new ServiceBusQueueOptions
{
ConnectionString = keyVaultServiceConfiguration.GetSection(“ServiceConfiguration”)[“HangfireServiceBusConnectionString”],
QueuePrefix = “Dev-”,
Queues = new[] { Configuration.GetSection(“ServiceConfiguration”)[“HangfireWebhookQueueName”] },
});
When tries to execute sqlStorage.UseServiceBusQueues i have the following error:
‘Method ‘Enqueue’ in type ‘Hangfire.Azure.ServiceBusQueue.ServiceBusQueueJobQueue’ from assembly ‘Hangfire.Azure.ServiceBusQueue, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.’
Anyone knows what is this about?
Thank you