title: Stop Application Insights including path parameters in the Operation Name
body: <p>Our ASP.NET MVC application includes some URI path parameters, like:</p>
  
  <blockquote>
    <p><a href="https://example.com/api/query/14hes1017ceimgS2ESsIec" rel="noreferrer">https://example.com/api/query/14hes1017ceimgS2ESsIec</a></p>
  </blockquote>
  
  <p>In Application Insights, this URI above becomes <em>Operation Name</em></p>
  
  <pre><code>GET /api/query/14hes1017ceimgS2ESsIec
  </code></pre>
  
  <p>We don't want millions of unique Operations like this; it's just one code method serving them all (see below). We want to roll them up under an Operation Name like</p>
  
  <pre><code>GET /api/query/{path}
  </code></pre>
  
  <hr>
  
  <p>Here is the code method - I think App Insights could detect that the URI contains a query parameter... but it doesn't.</p>
  
  <pre><code>    [Route("api/query/{hash}")]
      public HttpResponseMessage Get(string hash)
      {
          ...
  </code></pre>