SignalR: Error loading hubs

前端 未结 4 1743
萌比男神i
萌比男神i 2021-02-13 20:57

Signalr doesn\'t load my hubs:

SignalR: Error loading hubs. Ensure your hubs reference is correct, e.g. . 
         


        
4条回答
  •  孤街浪徒
    2021-02-13 21:45

    Visit your site, ex http://localhost/signalr/hubs, and see if you can get a better error description there. My problem was that I had a generic method in my hub.

    public void Update(T objectToUpdate) where T : class
    

提交回复
热议问题