SignalR: Error loading hubs

前端 未结 4 1749
萌比男神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:46

    Make sure your startup class has this attribute:

    [assembly: OwinStartup(typeof(MyStartupClass))]
    

    You can define your Owin startup class in your web.config as well:

      
        
    
    

提交回复
热议问题