Recently, the company needed to use MVC to update the IDE to Visual Studio 2013. During development, it found many requests to a local port of 49925.
It was strange that Visual Studio 2013 was initially caused by the Javascript file or view file that was added by default during project creation. It was not found for a long time, after checking the code under firebug, the following code is found on the page:
<script id="__browserLink_initializationData" type="application/json">{"appName":"Firefox","requestId":"23b71f085f334e97969864ab934745c5"}</script><script async="async" src="http://localhost:49925/4b38e516c0774211882dabde19ecda0f/browserLink" type="text/javascript">
Then I searched by the browserlink name and found that browserlink is a new function of Visual Studio 2013.
What is browser link?
This browser link function is a communication bridge between the flow tool and Visual Studio ide through a script file. After browser link is enabled, Visual Studio injects an ihttpmodule module object to the website, then, the above script is registered on each page.
The browser link function is implemented using signalr technology.
After talking about this, what is the browser link function used?
At present, broswer link is simple, which is used to refresh the pages opened in the browser in Visual Studio IDE,Why do I need to refresh the page in Visual Studio ide?
There is such an Application Scenario: If you are developing a page, this page must be compatible with IE, Google, Firefox, and mobile browsers, and you may use these flow tools to open your page at the same time, if you find a problem, go back to vs ide to modify it. After the modification, click "Refresh linked browsers" in Visual Studio ide to refresh all the browsers to view the effect.
Currently, this "browser link" only has such a refresh function. However, the browser link function can be used to compile extended functions and customize the functions you need.
If you do not want to use this function, you only need to add the following code to the appsettings node in Web. config.
1 <add key="vs:EnableBrowserLink" value="false"/>
Http://blogs.msdn.com/ B /webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx
Disable the browser link function of Visual Studio 2013