In a legacy Web Forms application, we need to run a background process that calls server.execute in batch then transforms the resulting html generated and creates PDFs. The aspx pages called by server.execute are complex and utterly reliant on httpcontext.
http://odinserj.net/2014/05/10/are-your-methods-ready-to-run-in-background/ has made clear that execution context is different thus out-of-the-box such an approach is not possible. Is there however a mechanism possible to invoke or mock the Web Forms request context from within a method called by Hangfire to achieve this?