c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -
I am trying to use the ASP.NET signal for the first time - here's what I did: created a new web Has been added to the project and the following signal R packages:
< / P>
I have created the following category:
[Hub-name ("chat")] Public class ChatHub: Hub {Public Zero Halo () {Clients.All.hello ( ); }}
and the following startup configuration:
public partial class startup {public zero configuration (IAppBuilder app) {configure (app); App.MapSignalR (); }}
However, whenever I navigate
< P> I get the following error:localhost: (port) / api / signalr / chat
Protocol error: Unknown transport.
I am running a new browser and trying different people so remove it from the API / URL, and just use the localhost: (potter) / signaller / Chat
Comments
Post a Comment