hangfire Questions

1

Solved

I'm trying to integrate hangfire into my .NET core web app. I have followed the instructions on the Hangfire quickstart by installing all necessary packages. I also installed an extension called Ha...
Mysterious asked 27/1, 2019 at 3:4

2

Solved

I am showing list of hangfire servers currently running on my page. I am running hangfire server in console application but the problem is when I don't have my console application running still ha...
Goldeneye asked 27/4, 2018 at 15:7

2

Solved

I have an existing api that stores data per-thread and is retrieved using HttpContext.Current. I'm trying to refactor this class to be called from a hangfire job -- I want to know if there is an e...
Ambulant asked 29/1, 2016 at 22:14

2

Solved

How can I pass a SignalR hub context to a Hangfire job on ASP .NET Core 2.1? It seems that since passing arguments to Hangfire is done via serialization/deserialization, it seems that Hangfire has...
Ottoottoman asked 29/11, 2018 at 11:39

1

Solved

What is the difference between the nuget packages HangFire.AspNetCore and HangFire and HangFire.core? It seems I am able to use hangfire with a ASP .NET MVC Core project with only the HangFire 1.6...
Oestrogen asked 8/12, 2018 at 12:49

2

I am new to cron expression. All i need to know that how to create cron for recurring job in Hangfire that executes after every 1 day at 5 pm, 1 am, 2:45 pm Understanding that Hangfire also accepts...
Bloodfin asked 28/3, 2017 at 9:34

1

I have been struggling on this issue for weeks now. I have an app where i have configured owin backend with web api and autofac DI with background handfire jobs. I have alsmost looked at every qu...
Driving asked 4/9, 2018 at 8:38

1

How can you configure Bearer Token Authorization/Authentication in Hangfire? I have a custom authentication filter that read the Authentication Token on the initial request but all other requests ...
Lynnelynnea asked 6/9, 2016 at 14:1

6

I'm working on an ASP.NET Core RC2 application. There is a requirement for this application to periodically invoke certain tasks, such as sending emails or invoking specific business logic. I'm a...
Kusin asked 31/5, 2016 at 11:22

1

I am attempting to migrate an OnPrem solution to Azure. The application uses Hangfire fairly heavily. Hangfire is hosted in a windows service and is backed by SQL Server. I prefer not to remove th...
Masseur asked 8/7, 2018 at 13:27

3

Solved

How can I add date to the HangFire task? For example, this code adds 7 days: BackgroundJob.Schedule( () => Console.WriteLine("Reliable!"), TimeSpan.FromDays(7)); But what if I need to run ...
Rim asked 23/4, 2015 at 13:36

2

Solved

My recurring job in Hangfire is not being triggered regardless of what Schedule I put in. I have tried using BackgroundJob just to make sure that something is working, and it does. I have also chec...
Submersed asked 16/5, 2018 at 11:21

3

Solved

There are some database operations I need to execute before the end of the final attempt of my Hangfire background job (I need to delete the database record related to the job) My current job is s...
Experimental asked 14/7, 2016 at 7:33

1

Solved

I would like to ask if there is a way how to define that HangFire server shouldn't process recurring jobs? There are two application (windows service and web application) which are using HangFire ...
Regimentals asked 25/4, 2018 at 20:24

1

I have an .NET Core 2 powered API that I would like to add Hangfire to. The project is already using NLog to log to a MySQL database and it works fine, but when I try to setup and use Hangfire I ge...
Dessiedessma asked 20/4, 2018 at 4:23

1

I am having following application : 1) Mvc app : Hangfire client from where i will just enqueue jobs and host dashboard.This app will contains reference of my class library. 2) Console App : Ha...
Bullfinch asked 27/3, 2018 at 13:24

2

Solved

Is it possible to create a recurring job in Hangfire that executes after a given number of days, say 8. The nearest I found was to execute a job once in a week - RecurringJob.AddOrUpdate("MyJob"...
Honor asked 3/2, 2016 at 4:51

2

Is there a simple way of stopping a hangfire.io job from enqueuing if one is already enqueued? Looking at the jobfilterattribute, nothing stands out as how to get the state of anything on the serv...
Nasty asked 13/6, 2016 at 14:9

2

Solved

I am trying to use Hangfire to run a recurring job in the background that polls data from another website, the issue is that I don't want the recurring job to run if the previous job is still runni...
Peirsen asked 11/6, 2015 at 17:31

1

Solved

In my web application (ASP.NET Core), I want to run a job in the background that is listening to a remote server, calculating some results and pushing it to the client on Pusher (a websocket). I'm...
Scupper asked 10/1, 2018 at 0:48

1

Solved

I would like to be able to use my Log to emit events through Hangfires context.console, so that I don't need to use context.writeline to output log events to my hangfire dashboard. I have attempte...
Vorous asked 6/3, 2018 at 12:40

4

Solved

I am having an asp.mvc application which resides on a server.From this application, I want to start a process which is a bit long-running operation and will be resource intensive operation. So wha...
Objurgate asked 24/1, 2018 at 12:34

1

I'm using Hangfire for background jobs, and Serilog for logging. I'm trying to enrich my serilogs with a TrackingId so that all logs from a specific Hangfire job will have the same TrackingId that ...
Emu asked 16/10, 2017 at 13:25

0

I have used Hangfire (1.6.17) on .net core application for scheduling and recurring jobs…it works fine for 2 3 job en-queued but when it get more than 2 or 3 jobs at same time to be execute, some j...
Surfacetosurface asked 11/12, 2017 at 4:48

0

Background When hosting a (non-Core) ASP.net site on IIS 8+ it is possible to utilize the IIS Application Initialization Module to pro-actively initialize ('warm-up') a web application when IIS st...

© 2022 - 2024 — McMap. All rights reserved.