title: ReferenceError: signalR is not defined
body: <p>Currently I am creating a chat. I want to use AspNetCore (2.2) SignalR.
  I have followed the instructions on <a href="https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-2.2&amp;tabs=visual-studio" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-2.2&amp;tabs=visual-studio</a> but now I am facing the following issue:
  When I run my client in IIS the following error occurs:</p>
  
  <blockquote>
    <p>ReferenceError: signalR is not defined[Learn More] script.js</p>
    
    <p>anonymous <a href="http://localhost:20610/js/script.js" rel="nofollow noreferrer">http://localhost:20610/js/script.js</a></p>
  </blockquote>
  
  <p>I searched the web and found out that in NodeJS you have to use
      <code>const signalR = require("@aspnet/signalr");</code>
  But in my case I am using plain javascript so I thought I don't need to add this line. Am I right?</p>
  
  <p>Here is my html and the beginning of my js code:</p>
  
  <pre><code>&lt;head&gt;
      &lt;title&gt;abc&lt;/title&gt;
      &lt;meta charset="UTF-8" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
      &lt;link rel="stylesheet" href="style/style.css"&gt;
      &lt;script src="js/jquery-3.3.1.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/signalr.min.js"&gt;&lt;/script&gt;
      &lt;script src="js/script.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  </code></pre>
  
  <pre><code>var connection = new signalR.HubConnectionBuilder().withUrl(base).build();
  </code></pre>
  
  <p>Are there any suggestions how to get this working?</p>
  
  <p>Thanks :)</p>