Closed CarvalhoWesley closed 3 years ago
why using await connection.start() _CastError (type '_CastError' is not a subtype of type 'Exception' in type cast)
@CarvalhoWesley have you been able to fix this error?
@dynacorp and @dunghoang046 thanks for your attention. In fact, the error was my fault, because in my API (before .NET Core 3.1, now .NET 5) I was using an old SignalR package:
"aspnet-signalr@1.1.4"
which I believe is deprecated.
After switching to the package:
"@microsoft/signalr@5.0.7"
my problem has been resolved.
Here's a tip for legacy projects that use this first package mentioned by me.
_version : signalrcore: ^1.1.1
Log