How to turn off profiling info for BroswerLink

Visual Studio 2013 add this new feature called BrowserLink.

When this feature is turned off, everything is normal and there is only one profiling time icon for the page.
When this feature is turned on (by default), there are two profiling time icons on the page, one for the page itself, one for the browser link url.

Is there any way to turn off profiling icon for the browser link without turning off the feature?

1 Like

Use this code in your Global.Asax.cs:

var ignored = MiniProfiler.Settings.IgnoredPaths.ToList();
ignored.Add("/__browserLink/");
MiniProfiler.Settings.IgnoredPaths = ignored.ToArray();
1 Like