title: The name 'HttpContext' does not exist in the current context
body: <p>I am trying to convert some vb.net to C#, but I keep getting errors.  At the moment, I am getting the error in the title.</p>
  
  <p>The problem line is:</p>
  
  <pre><code>string[] strUserInitials = HttpContext.Current.Request.ServerVariables("LOGON_USER").Split(Convert.ToChar("\\"));
  </code></pre>
  
  <p>Anyone know why this is happening?</p>
  
  <p>I am working on a webservice (asmx file).</p>
  
  <p>I have the following at the top of the code:</p>
  
  <pre><code>using System.Web;
  using System.Web.Services;
  using System.Web.Script.Services;
  using System.Collections.Generic;
  using System.Data;
  using System.Data.SqlClient;
  </code></pre>