The link to the browser does not work VS 2013 Ultimate - does it look like SignalR is not working?

I made a simple ASP.net empty project. added to some Angular and index.html scripts.

my web.config is as follows

<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.5" />
    <httpRuntime targetFramework="4.5" />
  </system.web>

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

<system.webServer>
  <modules runAllManagedModulesForAllRequests = "true" />
<handlers>
  <add name="Browser Link for HTML" path="*.html" verb="*"
       type="System.Web.StaticFileHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
       resourceType="File" preCondition="integratedMode" />
</handlers>
</system.webServer>

</configuration>

I was working in debug mode, and updated related browsers were disabled. I right-click on the image source and see the input signalr script ....

<!-- Visual Studio Browser Link -->
<script type="application/json" id="__browserLink_initializationData">
{"appName":"Internet Explorer","requestId":"b4525138f27448f4b328d597814217e0"}
</script>
<script type="text/javascript" src="http://localhost:4417/ecdc68cd047d49ad8af56a109101d4f7/browserLink" async="async"></script>
<!-- End Browser Link -->

however, when I tried to launch the link http: // localhost: 4417 ..... in the browser for the signalr script file it is not there. Should I see javascript code?

+4
source share
1 answer

Add the tag to Web.Config

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

0

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


All Articles