title: Have to copy global.asax.cs to live server
body: <p>I have a web application which I have built and deployed to a web server.  We only deploy the aspx, plus dlls etc and not the source code.</p>
  
  <p>When I try and access the web site I get the message "the file /global.asax.cs'does not exist".</p>
  
  <p>If I copy it across to the server it works and the rest of the site is fine. No other C# source code is present on the site so it is obviously using the compiled DLL for everything but global.asax.cs</p>
  
  <p>The global.asax file looks like this:</p>
  
  <pre><code>&lt;%@ Application CodeFile="Global.asax.cs" Language="C#" Inherits="GTFC.Global" %&gt;
  </code></pre>
  
  <p>and the global.asax.cs like this:</p>
  
  <pre><code>namespace GTFC
  {
      public partial class Global : System.Web.HttpApplication
      {
      }
  }
  </code></pre>