odinserj / odinserj.net Goto Github PK
View Code? Open in Web Editor NEWMy blog
Home Page: http://odinserj.net
My blog
Home Page: http://odinserj.net
OH MY GOODNESS Hangfire is AMAZING. You are a freaking rock star!! If I weren't happily married I would be propositioning you FOR SURE. Thanks a ton for this stuff.
Hello!
First of all, thanks for the fantastic library!
Is there a guide to implement custom job storage for HangFire? I want to use it with Azure Queue, without SQL Server (or replacing it with Azure Table).
Regards!
Steven
Hi Odin,
I really appreciate your work and the Hangfire teams work, I was trying to set the RecurringJob
RetryAttempts dynamically:
i.e.
RecurringJob.AddOrUpdate(entity.Id.ToString(), x => x.ExecuteRecurring(command.Url, command.Method, command.Headers, command.Body), command.Cron, MaxRetries = NUMBER);
Is it possible?
Many thanks
HI,
kindly I want to know which classes in Hangfire source code that is responsible for keeping the background tasks a live against ASP.net app domain shutdown?
Hi,
I have upgraded the version to 1.0.2 and getting error when setting JobActivator.Current
the compiler error is "Cannot convert source type Hangfire.SimpleInjectorJobActivator to target type Hangfire.JobActivator". Could you please suggest (SimpleInjector code added below)
JobActivator.Current = new SimpleInjectorJobActivator(container);
public class SimpleInjectorInitialize
{
///
Initialize the container and register it as MVC and Web API Dependency Resolver.
public static void Initialize()
{
var container = new Container();
InitializeContainer(container);
container.RegisterMvcControllers(Assembly.GetExecutingAssembly());
container.RegisterWebApiControllers(GlobalConfiguration.Configuration);
container.Verify();
//Set dependency resolver for MVC
DependencyResolver.SetResolver(new SimpleInjectorDependencyResolver(container));
//Set dependency resolver for Web API
GlobalConfiguration.Configuration.DependencyResolver = new SimpleInjectorWebApiDependencyResolver(container);
//HangFire Initilisation
JobActivator.Current = new SimpleInjectorJobActivator(container);
}
private static void InitializeContainer(Container container)
{
SimpleInjectorRegistration.RegisterServices(container);
Service.SimpleInjectorRegistration.RegisterServices(container);
}
}
Hi there. Loving your library. Really simple to use.
I'm running into a situation with my asp.net app where multiple servers get created when I stop/start the site. I'd like to control this better and ensure that there's only a single server for my app.
I went to look at the source for AspNetBackgroundJobServer and discovered that I couldn't find the source for Hangfire.Web. Can you point me in the right direction?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.