As mentioned in our Project Layout, the client will consist of JavaScript functions for sending messages to and receiving message from the server, and HTML elements for display.
- In your project, add a new folder under wwwroot, called scripts:
Remember that the node_modules directory that was created for us by our npm command earlier?
- Navigate to the following path within the node_modules directory:
\@aspnet\signalr-client\dist\browser
Take a look at the following screenshot:
- Copy the signalr-client-1.0.0-alpha2-final.min.js ...