title: Where is the Global.asax.cs file?
body: <p>I am using VS 2008. I have created a new Asp.net web site project from File->New->Website->Asp.net Website.</p>
  
  <p>Now I want to add the Global.asax as well as the .cs file to the project. So I Right click on the project ->Add New Item->Global Application Class. Then I clicked on the add button.</p>
  
  <p>The Global.asax file got added with the content as under</p>
  
  <pre><code>&lt;%@ Application Language="C#" %&gt;
  
   &lt;script runat="server"%&gt;
  
      void Application_Start(object sender, EventArgs e) 
      {
          // Code that runs on application startup
  
      }
  
      void Application_End(object sender, EventArgs e) 
      {
          //  Code that runs on application shutdown
  
      }
  
      void Application_Error(object sender, EventArgs e) 
      { 
          // Code that runs when an unhandled error occurs
  
      }
  
      void Session_Start(object sender, EventArgs e) 
      {
          // Code that runs when a new session is started
  
      }
  
      void Session_End(object sender, EventArgs e) 
      {
          // Code that runs when a session ends. 
          // Note: The Session_End event is raised only when the sessionstate mode
          // is set to InProc in the Web.config file. If session mode is set to StateServer 
          // or SQLServer, the event is not raised.
  
      }
  
  &lt;/script&gt;
  </code></pre>
  
  <p>This is fine. But where is the Global.asax.cs file?</p>
  
  <p>Thanks</p>