title: Need UrlHelper inside global.asax
body: <p>I need to set up a bunch of paths and URLs when my app starts, ie in <code>global.asax</code>. Using <code>UrlHelper.Content()</code> is the easiest way to do that, but it is not available for use.</p>
  
  <p>So how can I get an instance of it inside <code>global.asax</code>? I tried creating one, but of course <code>RequestContext</code> doesn't exist.</p>
  
  <p>The answer most linked-to is <a href="https://stackoverflow.com/questions/2031995/call-urlhelper-in-models-in-asp-net-mvc/2032257#2032257">here</a> but that throws exceptions for me. I am using the latest MVC3.</p>