title: Accessing Request.Url in controller initialization
body: <p>Here : </p>
  
  <pre><code>public baseController()
  {
      string surl = Request.Url.AbsoluteUri;
  }
  </code></pre>
  
  <p>This is not accessible : "Object reference not set to an instance of an object."</p>
  
  <p>This one is OK :</p>
  
  <pre><code>public ActionResult index()
  {
      string url = Request.Url.AbsoluteUri;
  }
  </code></pre>
  
  <p>I believe current http context is only accessible on actionrendering ?
  Ayway, I need to get this URL thing before actually calling an actionresult, I'm I missing something ?</p>