title: Manually created global.asax.cs file doesn't work
body: <p>I have Web Site Project and I have started developing api (atleast trying).</p>
  
  <p>Problem is with creating <code>Global.asax</code> file. Since this is <code>Web Site Project</code>, when I create <code>Global Application Class</code> it creates only <code>Global.asax</code> without <code>Global.asax.cs</code></p>
  
  <p>After some research, I have found out I need to do it manually so I created <code>Global.asax.cs</code> file and it automatically set it under my already created <code>Global.asax</code> which I think is good.</p>
  
  <p>Problem is I think that my code inside <code>Global.asax.cs</code> isn't running. I tried putting breakpoint inside <code>Global.asax - Application_Start function</code> and it stops there (which mean it is working), but when I do the same at <code>Global.asax.cs</code>, it doesn't stop.</p>
  
  <p>I have tried adding <code>&lt;%@ Application Language="C#" Inhertis="Global.asax"%&gt;</code> inside <code>Global.asax</code> but what I get is <code>Could not load type 'Global.asax'</code></p>
  
  <p>What should I do?</p>
  
  <p>EDIT:</p>
  
  <p>Global.asax.cs:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Http;
  using System.Web.Routing;
  
  /// &lt;summary&gt;
  /// Summary description for Global
  /// &lt;/summary&gt;
  /// 
  public class Global
  {
      public Global()
      {
          //
          // TODO: Add constructor logic here
          //
      }
  
      void Application_Start(object sender, EventArgs e)
      {
          RouteTable.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new { id = System.Web.Http.RouteParameter.Optional });
      }
  }
  </code></pre>