title: How to access the HttpServerUtility.MapPath method in a Thread or Timer?
body: <p>I use a <code>System.Timers.Timer</code> in my Asp.Net application and I need to use the <code>HttpServerUtility.MapPath</code> method which seems to be only available via <code>HttpContext.Current.Server.MapPath</code>.
  The problem is that <code>HttpContext.Current</code> is <code>null</code> when the <code>Timer.Elapsed</code> event fires.</p>
  
  <p>Is there another way to get a reference to a HttpServerUtility object ? 
  I could inject it in my class' constructor. Is it safe ? How can I be sure it won't be Garbage Collected at the end of the current request?</p>
  
  <p>Thanks!</p>