title: Using Static Instance of TelemetryClient with Application Insights
body: <p>I have an ASP.NET MVC Website and I am implementing Application Insights.  Right now, I log a Trace Event as follows:</p>
  
  <pre><code>private static TelemetryClient _APM;
  private static TelemetryClient APM
  {
      get
      {
          if (_APM == null) { _APM = new TelemetryClient(); }
          return _APM;
      }
  }
  
  public static void Trace(string Message)
  {
      APM.TrackTrace(Message);
  }
  </code></pre>
  
  <p>As you can see, this would maintain a single static instance of the TelemetryClient for all traces.  Is this how we are supposed to use the client?  Or are we supposed to create a new instance of TelemetryClient for each Log?</p>