Using app.UseSignalR causes a System.MissingMethodException at Startup #690
Comments
They are incompatible, you can wait for ASP.NET Core 2.0 to be released or update to a newer ci build. |
Ow okay, didn't know that. I'll see how I can update my version of ASP.NET Core 2.0 with the CI build :-D Thanks |
@davidfowl When I upgrade to the latest aspnetcore and signalr |
Yep, got the exact same issue, I'm trying to figure it out right now xD The least we can say is that trying to use the latest version of SignalR is not a piece of cake :-D (no pun intended ;-)) |
You need to also get the latest version of .NET Core. Update everything together. |
There is newer one than 2.0.0-preview2-006497? Can't find it. |
Yay, I installed ASP.NET Core 2.1.0 and indeed, it solves the issue. mclasson, you can find the binaries here : https://github.com/dotnet/cli Just another question, I installed the "signalr-client 0.0.17" npm package and I see that there is a sample in there. Is it still compatible with the current version of SignalR ? Thanks |
@ssougnez - where did you install it from? It does not seem to be correct. The latest is 0.1.0-alpha1-26553. |
Indeed, sorry, in the meantime, I found the issue. There is actually a "signalr-client" package on the default npm registry, I didn't see that I had to install the one from MyGet. I succedded installing it and so far, it seems to work pretty well. Thanks |
dude i had the same issue struggled for 4 days mixing and matching packages but then Marcus Classon came to my rescue and directed me here. Thanks Marcus. David Fowler also answered my emails .. he says It's because SignalR is building against the latest ASP.NET Core ci builds. The way to make it work would be to update everything:
The key is to align the build numbers. SignalR is currently 1.0.0-alpha-{buildnumber} and ASP.NET Core is 2.0.0-rtm-{buildnumber}. Another option would be to wait on the 2.0.0 release. But now im having another problem. You may only use the Microsoft .NET Core Debugger (vsdbg) with
|
docker image |
Wrong dependencies. |
Had this same issue after the release of .NET Core 2.0. Took me a while to realize that I was running on a pre release version of 2.0 (which I had downloaded a while back). Just downloading and installing the final release fixed it for me. |
Hi,
I'm trying to host a simple hub in my ASP.NET Core 2.0 Application. Here are the relevant part of my code:
When I try to run this application, I get the error:
With the following stack trace:
The stack trace seems to indicate that it's not directly coming from SignalR but when I remove
app.UseSignalR(...)
, I don't have the issue anymore.I'm using the version 1.0.0-alpha1-26462.
The text was updated successfully, but these errors were encountered: