.net localhost website consistently making get arterySignalR/poll?transport=longPolling&connectionToken= calls

时光毁灭记忆、已成空白 提交于 2019-11-27 16:48:38
N. Taylor Mullen

This is working as intended. Artery aka BrowserLink is a real-time connection from Visual Studio to all browsers running your code. It essentially allows Visual Studio to interact with every browser.

For instance if you have IE, Opera, Chrome and Firefox all running your code and you're trying to ensure cross browser correctness; instead of going to each browser and hitting f5 to refresh you can just click the browser link refresh button which will auto-refresh all of the pages for you.

Not everyone wants or needs to have this functionality so if you do want to disable it, as Gustavo Armenta said you can disable it by following the steps here: How can I disable __vwd/js/artery in VS.NET 2013?

Hope this helps!

Yasser

I would recommend you to read this post first Browser Link feature in Visual Studio Preview 2013 to understand about this new feature that comes in with VS 2013.

And then to disable this, simply uncheck the "Enable browser link" option.

You can hide the polling requests from the Chrome developer tools Network tab so that the requests you are actually interested in become visible. You can hide the polling requests by adding a negative filter:

  • On the Network tab, click the filter button to open the filter options
  • Enter "-poll" without the quotes to hide the polling requests.

Example:

Maksym Kozlenko

Had issues with that on site running with KnockoutJS framework. Pages were freezing for 10 seconds until "BrowserLink" external scripts were loading (using Chrome browser).

Issue solved by disabling "Browser link" feature in VS 2013

Steps How to disable "Browser link" (thanks to Gustavo Armenta for leaving comment with link in question)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!