SignalR class library for both UWP and WPF

2019-06-09 13:32发布

问题:

I'm interested in writing a class library that can be consumed from both a UWP application and a WPF (desktop) application. This library will incorporate SignalR to allow those two application types to function as servers pushing data. The client will most likely be another UWP application. According to Microsoft in such cases the class library should target .NET Standard. My current understanding is that .NET Core is an implementation of the .NET Standard. Since SignalR has now been included in ASP.NET Core 2.1.0 (which itself is part of .NET Core 2.1) I should be able to accomplish this. However, I only see ".NET Standard 2.0" as the most current version. Is what I'm trying to do possible?