You can disable the Visual Studio 2013 browser link on page by page

I like the inspector function in Visual Studio 2013 Browser Link. However, I have a small number of pages, mostly custom audio / video Media Player, that force the browser to make an excessive number of signalr requests per second ... in the range of 200 per second. Therefore, I would like to disable the function on these specific pages.

I know that it can be disabled throughout the application or application section by placing the following key in the web.config file.

<add key="vs:EnableBrowserLink" value="true" /> 

Is there a way to disable it on one page?

+5
source share
1 answer

Put all the media players in one folder. Add a custom web.config file for this folder. Add the key to the web.config file.

 <appSettings> <add key="vs:EnableBrowserLink" value="false" /> </appSettings> 
+6
source

Source: https://habr.com/ru/post/1208850/


All Articles