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:

Enter image details here < / 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

localhost: (port) / api / signalr / chat

< P> I get the following error:

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

Popular posts from this blog

c# - WPF Expander overlay used in ItemsControl -

class - Kivy: how to instantiate a dynamic classes in python -