首页 > 代码库 > 禁用Visual Studio 2013的Browser Link功能

禁用Visual Studio 2013的Browser Link功能

禁用Visual Studio 2013的Browser Link功能

GET http://localhost:37478/7fd25f8af33f443494e765be19be6240/browserLink [HTTP/1.1 200 OK 5ms]所用的 getPreventDefault() 已不赞成使用。请使用 defaultPrevented 替代。 browserLink:37GET 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:1GET 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:1GET 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:1GET 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.

 

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

 

禁用Visual Studio 2013的Browser Link功能