简体   繁体   中英

SignalR Self Hosted application in 2020

I started using SignalR in console/desktop application from its first release years ago and then switched to other duties. Now it seems that many things changed, and it is not possible anymore to create a simple console chat application hosting a SignalR hub.

Is my understanding right? Do I have to install ASP.net extensions in Visual Studio to access SignalR API? And, does this mean that I need IIS? Am I obliged to use javascript on client side? I'd like to develop a WPF client.

Could someone please clarify my point of view on this topic? Thank you

Am I obliged to use javascript on client side?

Certainly not. Microsoft.AspNet.SignalR.Client is the .NET client API for the classic ASP.NET SignalR and Microsoft.AspNetCore.SignalR.Client is the client API for the new and improved ASP.NET Core SignalR. You can download and install them both from NuGet.

ASP.NET Core SignalR isn't compatible with clients or servers for ASP.NET SignalR so you need to know what version is running on the host that you are connecting to.

Differences between ASP.NET SignalR and ASP.NET Core SignalR

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM