从web api到UWP app广播消息 [英] Broadcasting message from web api to UWP app
问题描述
服务器将是一个Web API< g class =" gr_ gr_48 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace"数据-GR-ID =" 48英寸; id =" 48"> in。< / g>网络和客户端是UWP应用程序。数据库中存储了一些消息
以及到期时间和deviceId.Each消息应该广播到设备在时间到期时如何保持从Web API到UWP的持久连接以及我们如何将消息广播到特定设备。请提前预订
所有建议!
https://elanderson.net/2018/01/broadcast-from-an-asp-net-web-api-to-a-uwp-client-using-signalr- 2 /
两种技术都可以在ASP.NET论坛的WebAPI和SingnalR的两个论坛中讨论。
The server will be a web API <g class="gr_ gr_48 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="48" id="48">in .</g>Net and client is UWP app.There are some messages stored in the database
along with the expiry time and deviceId.Each message should be broadcasted to the device on the expiration of time.How can we keep a persistent connection from web API to UWP and how can we broadcast the message to a particular device.Thanks in advance for
all suggestion!
https://elanderson.net/2018/01/broadcast-from-an-asp-net-web-api-to-a-uwp-client-using-signalr-2/
Both technologies can be discussed in two forums of WebAPI and SingnalR at ASP.NET forums.
这篇关于从web api到UWP app广播消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!