title: Find out in Global.Asax - Application_Start if ASP.NET application running locally
body: <p>HttpContext.Current.Request.IsLocal is not available in Global.Asax/Application_Start (Request is not available in the context).</p>
  
  <p>How else could I safely determine if my ASP.NET MVC application is started locally or not?</p>
  
  <p>This is to rewrite my web.config conditionally (depending on whether the application is deployed (remote) or in testing (local)). </p>
  
  <p>Thank you!</p>