title: Hangfire per-job correlationId/state
body: <p>I run Hangfire on ASP.NET Core.
  For our other projects we have CorrelationIds that we pass when making API calls to be able to link the caller and callee.
  We use the IHttpContextAccessor's TraceIdentifier for this in ASP.NET Core.</p>
  <p>Unfortunately it looks like the trick used by ASP.NET Core to get a scoped CorrelationId in the Transient IHttpContextAccessor doesn't work for Hangfire job execution.
  Using a Scoped state correlation object doesn't work because it must be Transient to be able to work with the rest of the system (logging etc.)</p>
  <p>I used to be able to get away using the ServiceLocator anti-pattern and resolve a scoped state object in a transient service.
  In the latest ASP.NET Core that is no longer supported and an exception is thrown making the system too slow because of the huge number of exceptions thrown.</p>
  <p>Is there something that Hangfire provides already that would give me a unique ID per job execution?</p>
  <p>Cheers.</p>