You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My changes were to modify Startup.cs to call app.MapAzureSignalR(GetType().FullName) instead of app.MapSignalR() and to add the connection string to my web.config file (see below).
However, this does not work. When I load the page and enter my name, I see the following error in the browser's console window...
app.MapSignalR()Uncaught TypeError: Cannot read property 'toLowerCase' of undefined
at hubConnection.fn.init. (jquery.signalR-2.4.0.js:2997)
at hubConnection.fn.init. (jquery.signalR-2.4.0.js:877)
at hubConnection.fn.init.handle (jquery-1.6.4.min.js:3)
at hubConnection.fn.init.k (jquery-1.6.4.min.js:2)
at Object.trigger (jquery-1.6.4.min.js:3)
at init.triggerHandler (jquery-1.6.4.min.js:3)
at Object.triggerReceived (jquery.signalR-2.4.0.js:1599)
at Object. (jquery.signalR-2.4.0.js:1634)
at Function.each (jquery-1.6.4.min.js:2)
at Object.processMessages (jquery.signalR-2.4.0.js:1633)
This seems to happen in the call to $.connection.hub.start()
Anyone any ideas what's gone wrong? My full web.config (with sensitive data removed) is shown below...
I followed the local chat room sample, and it worked fine.
I then tried modifying it to use Azure, as shown in the Azure chat room sample.
My changes were to modify Startup.cs to call
app.MapAzureSignalR(GetType().FullName)
instead ofapp.MapSignalR()
and to add the connection string to my web.config file (see below).However, this does not work. When I load the page and enter my name, I see the following error in the browser's console window...
This seems to happen in the call to
$.connection.hub.start()
Anyone any ideas what's gone wrong? My full web.config (with sensitive data removed) is shown below...
The text was updated successfully, but these errors were encountered: