Original: Turn off the Browser Link feature in Visual Studio 2013
Recently the company's new project requires MVC to upgrade the IDE to Visual Studio 2013, where it was developed to find a lot of requests for a local 49925 port.
Very strange, at first thought is Visual Studio 2013 in the creation of the project when the default added JavaScript files or view files caused by a half-day has not been found, after looking at the code FireBug under the discovery, the page below the following code:
<ScriptID= "__browserlink_initializationdata"type= "Application/json">{"AppName":"Firefox","RequestID":"23b71f085f334e97969864ab934745c5"}</Script><ScriptAsync= "Async"src= "Http://localhost:49925/4b38e516c0774211882dabde19ecda0f/browserLink"type= "Text/javascript">
Then a search was made based on the name Browserlink and found that Browserlink was a new feature of Visual Studio 2013.
What is Browser Link?
The function of this Browser link is to use a script file to rack up a communication bridge before the process and Visual Studio IDE, and after enabling Browser link, Visual Studio injects a IHttpModule module into the Web site object, and then register a script above each page.
The Browser Link feature is implemented using SignalR technology.
Having said so much, what exactly is the Browser Link function used for?
Now the Broswer Link function is simple, which is to refresh the page in the Visual Studio IDE if the Visual Studio IDE can refresh the page that is already open in the browser .
There is such a scenario: if you are developing a page, this page needs to be compatible with IE, GOOGLE, FIREFOX and Mobile browser, it is possible that you will be able to use these processes at the same time to open your page, if you find that there is a problem, back to the VS IDE to modify, after the changes can be in the Visual S Tudio the IDE point "refresh Linked Browsers" to refresh all browsers to see the effect.
Now this "Browser link" only has such a refresh function, but the Browser link function can write extension functions, you can customize some of the features you need.
If you do not want to use this feature, simply add the following code to the AppSettings node in Web. config.
1 < key= "Vs:enablebrowserlink" value= "false"/>
Http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx
Turn off the Browser Link feature of Visual Studio 2013