title: How to disable the display of loading static files in Miniprofiler for asp.net core 2.0
body: <p>I am using Miniprofiler in an asp.net core2.0 application. Startup.cs</p>
  
  <pre><code>services.AddMiniProfiler(options =&gt; {
              options.RouteBasePath = "/profiler";
              (options.Storage as MemoryCacheStorage).CacheDuration = TimeSpan.FromMinutes(60);
              options.SqlFormatter = new StackExchange.Profiling.SqlFormatters.InlineFormatter();
              options.ResultsAuthorize = request =&gt; !Program.DisableProfilingResults;
          });
  </code></pre>
  
  <p>For each connection, I do:</p>
  
  <pre><code>DbConnection connection = new System.Data.SqlClient.SqlConnection(_connectionString);
              return new StackExchange.Profiling.Data.ProfiledDbConnection(connection, MiniProfiler.Current);
  </code></pre>
  
  <p>Examples are taken from here <a href="https://miniprofiler.com/dotnet/HowTo/ProfileSql" rel="nofollow noreferrer">https://miniprofiler.com/dotnet/HowTo/ProfileSql</a>.
  In outputting information, I see the loading of static content (js, css, etc.) including database queries, how can I disable this? </p>