I'm using hangfire to schedule a job that runs every minute. In the same class that i have the job to run there is a Queue that i need to acess and update it's internal values. The problem is everytime hangfire executes the job it uses a new instance of the class in which the queue is empty. I've already added the class a singleton in the startup.cs. All i need to do is keep the same queue and change some string inside the queue object. Any ideas? Thanks a lot for your time!