Access HttpContext.Current.Application from batch process c#
<p>I have a C# ASP.NET web application which starts a thread running some methods in a class called <code>SiteCrawler.cs</code>.</p>

<p>In <code>HttpContext.Current.Application</code> I want to save some value when all the threads are finished running. My problem is that the <code>HttpContext.Current</code> object is <code>null</code> in the spawned threads because it doesn't exist there.</p>

<p>I have tried to search around every inch of Stackoverflow to find a solution but without any luck....</p>
