Quantcast
Channel: How to send a dbcontext/unit of work to a Hangfire job filter - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Shahzad Hassan for How to send a dbcontext/unit of work to a...

From the top of my head, you can try adding the JobFilter as a TypeFilter and it will automatically inject the dependencies, if any in the constructor of your LogEverythingAttribute, so modifying the...

View Article



How to send a dbcontext/unit of work to a Hangfire job filter

We're using Hangfire for some nightly and long running jobs, and we're tracking additional related details/metadata for each job within a separate database to avoid Hangfire upgrade issues in the...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images