Unable to register routes in SignalR 2.0.0

后端 未结 5 538
旧时难觅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:16

    By default it will search for a file called Startup; so the only thing i had to do was to create a Startup class under the Assembly-name.Startup namespace.

    The namespace should follow the above pattern to make the it possible to find the startup class

提交回复
热议问题