What is Browser Link?

6

When I use Visual Studio (I am using the 2013 version, I do not know if the previous ones have) with Browser Link enabled, there is always a GET request in the browser (F12) console. What would this request be?

XHR finished loading: GET "http://domain.com/__browserLink/requestData/45d702dfc31b4ded88bc432b6dfdb762?version=2".

Opening the file, I see the following minified code: Pastebin file because it is too long.

In this answer you are informed that:

  

Browser Link is a feature of Visual Studio 2013, which creates a communication channel between the development environment and one or more web browsers. You can use the browser's link to update your web application across multiple browsers at the same time, which is useful for cross-browser testing.

The author says it's a Communication Channel , but what is communicating?

How useful is this connection?

Does this leave the development environment slower?

Note: I'm not using SignalR.

    
asked by anonymous 10.11.2015 / 14:48

1 answer

7

When Browser Link is enabled Visual Studio functions as a SignalR server where browsers connect via an injected script on the rendered html page.

It basically serves to refresh pages from multiple browsers simultaneously, when you open them in the IDE:

Butthebestdefinition(andhint)isasfollows:

  

InthelatestinstallmentoftheMicrosoftepicsaga,'StuffNoOneAsked',weweregiventheBrowserLink.Withoutadoubtthemostimportantthingyouneedtoknowaboutitishowtoturnitoff.YoucandothisgloballybychangingtheoptionfromwithinVisualStudio:

Source here.

    
10.11.2015 / 15:02