Unable to register routes in SignalR 2.0.0

后端 未结 5 532
旧时难觅i
旧时难觅i 2021-01-12 09:47

I decided to move to the latest version of signalr but i facing a few issues. First of all the way to register routes has entirely changed; so i tried to do it the way that

5条回答
  •  耶瑟儿~
    2021-01-12 10:18

    Is this a website? If this is a website the assembly for the website is getting generated dynamically so you cannot figure out the fully qualified name of your startup class like this. Instead try adding an assembly level attribute in your code like this and see if your Startup.Configuration is invoked.

    [assembly : OwinStartup(typeof(Startup))]

提交回复
热议问题