SignalR class library for both UWP and WPF

陌路散爱 提交于 2020-01-06 04:59:06

问题


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?

来源:https://stackoverflow.com/questions/53575699/signalr-class-library-for-both-uwp-and-wpf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!