title: How can I resolve ASP.NET "~" app paths to the website root without a Control being present?
body: <p>I want to Resolve "~/whatever" from inside non-Page contexts such as Global.asax (HttpApplication), HttpModule, HttpHandler, etc. but can only find such Resolution methods specific to Controls (and Page).</p>
  
  <p>I think the app should have enough knowledge to be able to map this outside the Page context. No? Or at least it makes sense to me it should be resolvable in other circumstances, wherever the app root is known.</p>
  
  <p><strong>Update</strong>: The reason being I'm sticking "~" paths in the web.configuration files, and want to resolve them from the aforementioned non-Control scenarios.</p>
  
  <p><strong>Update 2:</strong> I'm trying to resolve them to the website root such as Control.Resolve(..) URL behaviour, not to a file system path.</p>