禁用Visual Studio 2013的Browser Link功能

在VS2013中,在IE浏览器浏览localhost网站时候,发现会不断有下面链接的请求,并在ff的控制台中输出错误信息:


GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/browserLink [HTTP/1.1 200 OK 5ms]
所用的 getPreventDefault() 已不赞成使用。请使用 defaultPrevented 替代。 browserLink:37
GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/negotiate [HTTP/1.1 200 OK 2ms]
GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/connect [HTTP/1.1 200 OK 2ms]
POST http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/send [HTTP/1.1 200 OK 1ms]
未找到元素 send:1
GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/poll [HTTP/1.1 200 OK 59ms]
POST http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/send [HTTP/1.1 200 OK 2ms]
未找到元素 send:1
GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/poll [HTTP/1.1 200 OK 1ms]
GET http://localhost:36261/__browserLink/requestData/a771c863271d4efeadea8b768efcd368 [HTTP/1.1 200 OK 30ms]
GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/poll [HTTP/1.1 200 OK 64ms]
POST http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/send [HTTP/1.1 200 OK 1ms]
未找到元素 send:1
GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/arterySignalR/poll [HTTP/1.1 200 OK 6872ms]

通过查阅网上资料得知,这是MS的一个browserLink功能。

关闭方法:


=============================================


check the msdn blog:(even though I'm not using vs

http://blogs.msdn.com/b/webdev/archive/2013/06/28/browser-link-feature-in-visual-studio-preview-2013.aspx

 

. How do I turn off Browser Link?

You can uncheck “Enable Browser Link” and it will be turned off “ Browser Link” for all future requests made.

image

You can also use the following appsettings in your web.config file.

1. Set appSetting “vs:EnableBrowserLink” to “false ““. This will  disable Browser Link.

image

2. Set debug= false in web.config file. This will  also disable Browser Link. Note that debug= true is required for Browser Link feature to work.


==============================================






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值