tagged [hangfire]

What is the difference between the nuget packages hangfire.aspnetcore and hangfire and hangfire.core?

What is the difference between the nuget packages hangfire.aspnetcore and hangfire and hangfire.core? What is the difference between the `nuget` packages [HangFire.AspNetCore](https://www.nuget.org/pa...

8 Dec at 13:58

Is there an in memory job storage package for Hangfire?

Is there an in memory job storage package for Hangfire? I have a console application to test HangFire. Here is the code: ``` using System; using Hangfire; namespace MyScheduler.ConsoleApp { interna...

4 Apr at 14:1

Hangfire dependency injection lifetime scope

Hangfire dependency injection lifetime scope I'm rewriting this entire question because I realize the cause, but still need a solution: I have a recurring job in Hangfire that runs every minute and ch...

15 Jan at 20:50

JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API

JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API I am using hangfire in mvc application. I am sending reminder to user for his/her...

31 Aug at 10:41

What is an correct way to inject db context to Hangfire Recurring job?

What is an correct way to inject db context to Hangfire Recurring job? I'm using HangFire to send emails to users in the background, regularly. I'm obtaining email addresses from database, but I'm not...

28 Nov at 08:42

How to remove all hangfire recurring jobs on startup?

How to remove all hangfire recurring jobs on startup? I am looking at using Hangfire as a job scheduler for recurring jobs. So configuring them is simple with `AddOrUpdate`, but then how do i delete i...

27 Oct at 06:21

How to invoke async methods in Hangfire?

How to invoke async methods in Hangfire? I have asp.net core API application and this is the first time i will be using HangFire. In .Net Core application all my methods are async. Based on [SO Post](...

17 Jul at 15:54

Running background tasks periodically in an ASP.NET Core RC2 application

Running background tasks periodically in an ASP.NET Core RC2 application I'm working on an ASP.NET Core RC2 application. There is a requirement for this application to periodically invoke certain task...

Hangfire Dashboard Authorization Config Not working

Hangfire Dashboard Authorization Config Not working I've downloaded the nu-get package `Hangfire.Dashboard.Authorization` I'm trying configure the OWIN based authorization as per the docs as follows b...

11 Aug at 21:21

Using Hangfire, connection string given in Startup.cs throws Cannot attach file as database error

Using Hangfire, connection string given in Startup.cs throws Cannot attach file as database error I'm utilizing Hangfire in my ASP .Net MVC Web App, it had installed successfully. I'd like to use the ...

14 Jan at 20:48

Hangfire DistributedLockTimeoutException when calling the same static method concurrently

Hangfire DistributedLockTimeoutException when calling the same static method concurrently I have a web service that, when posted to, queues up downloads of images in Hangfire, so that if the image dow...

19 Jan at 08:13

Hangfire.Autofac with MVC app - injection fails

Hangfire.Autofac with MVC app - injection fails I'm trying to create a simple Hangfire test but it's not working. Here's all the important code, and how I've configured it with the Hangire.Autofac . N...

19 Nov at 03:30

Hangfire causing locks in SQL Server

Hangfire causing locks in SQL Server We are using Hangfire 1.7.2 within our ASP.NET Web project with SQL Server 2016. We have around 150 sites on our server, with each site using Hangfire 1.7.2. We no...

Hangfire Background Job with Return Value

Hangfire Background Job with Return Value I'm switching from [Task.Run](https://msdn.microsoft.com/en-us/library/hh195051%28v=vs.110%29.aspx) to [Hangfire](http://docs.hangfire.io/en/latest/quick-star...

19 Mar at 06:49