Would like to port Signalr code into vnext project but I do not see the references for SignalR 3.x.
SignalR is deprecated. May I know the latest package for the same. The package Microsoft. AspNetCore.
SignalR. Client NuGet package contains the . NET client libraries for ASP.NET Core SignalR. Use the HubConnectionBuilder to create and build an instance of a connection to a hub.
In Solution Explorer, right-click the project and select Add > New Item. In Add New Item - SignalRChat, select Installed > Visual C# > Web > SignalR and then select SignalR Hub Class (v2). Name the class ChatHub and add it to the project. This step creates the ChatHub.
You would need to reference the package in your project.json
file, like so:
"dependencies": {
...
"Microsoft.AspNet.SignalR.Server": "3.0.0-*"
}
A vNext SignalR sample: https://github.com/aspnet/BugTracker
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With