ASP.NET MVC - Disabling Browser Link

You may be experiencing unexpected errors and performance impacts as a result of a capability added within Visual Studio 2013, titled Browser Link. The intent of Browser Link, was to allow the IDE to (bi-directional) communicate with the browsers (using SignalR), and allow for refreshing multiple browsers at once ("via Refreshing Linked Browsers").

In the circumstance that you are experiencing the following issues,
  • The web application / scripts being loaded, are taking extensive periods of time to load, as a result of javascript / jQuery errors being returned to the client.
  • The CPU usage between IIS Worker Process (W3WP) is increasing outside normal bounds.
  • HTML markup contains garbage tags, as a result of the HttpModule associated with Browser Link.
You can disable the Browser Link capability, by either using Visual Studio settings, or by disabling in the web configuration.

Visual Studio [source]
In the Browser Link dropdown menu, uncheck Enable Browser Link.

Web Configuration
In the Web.config file, add a key named "vs:EnableBrowserLink" with the value "false" in the appSettings section (preferred),


or you can set "debug" to "false", in the compilation tag.



Popular posts from this blog

C# - ListView Item Spacing (Padding)

C# - Performance Counters

IIS / ASP.NET - Disabling Compatibility Mode/View (Internet Explorer)